#274986#274986

#274986 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.110 H 261.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#274986
RGBrgb(39, 73, 134)
HSLhsl(219, 55%, 34%)
HSVhsv(219, 71%, 53%)
CMYKcmyk(70.9%, 45.5%, 0%, 47.5%)
CIE-LABlab(31.62, 9.41, -37.85)
CIE-LCHlch(31.62, 39.00, 283.96°)
OKLaboklab(41.35% -0.017 -0.1082)
OKLCHoklch(41.35% 0.11 261.1)
XYZxyz(7.5208, 6.9169, 23.4884)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274986 #866427
analogous
#277986 #274986 #352786
triadic
#274986 #862749 #498627
tetradic
#274986 #862779 #866427 #278635
square
#274986 #862779 #866427 #278635
split-complementary
#274986 #863527 #798627
monochromatic
#0B1527 #192F57 #274986 #3563B5 #5983CF

Accessibility & contrast

On white

8.81
#274986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#274986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274986
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274986#FFFFFF#000000##FFFFFF
##2749861.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F88
Deuteranopia (green-blind)
#1A4685
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274986;
/* rgb */ color: rgb(39, 73, 134);
/* oklch */ color: oklch(41.3% 0.110 261.1);
Tailwind
colors: {
  custom: {
    50: '#6d7baa',
    500: '#274986',
    950: '#000000',
  },
}
SCSS
$custom: #274986;
$custom-light: #6d7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#274986",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 218.526,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41349,
    "c": 0.10954,
    "h": 261.1
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#274986
secondary
#B49255
accent
#A94ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #274986

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#274986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva