#314587#314587

#314587 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.113 H 268.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#314587
RGBrgb(49, 69, 135)
HSLhsl(226, 47%, 36%)
HSVhsv(226, 64%, 53%)
CMYKcmyk(63.7%, 48.9%, 0%, 47.1%)
CIE-LABlab(31.01, 14.32, -39.40)
CIE-LCHlch(31.01, 41.93, 289.97°)
OKLaboklab(41.05% -0.0031 -0.1126)
OKLCHoklch(41.05% 0.113 268.4)
XYZxyz(7.7664, 6.6578, 23.7928)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314587 #877331
analogous
#317087 #314587 #483187
triadic
#314587 #873145 #458731
tetradic
#314587 #873170 #877331 #318748
square
#314587 #873170 #877331 #318748
split-complementary
#314587 #874831 #708731
monochromatic
#10172D #212E5A #314587 #415CB4 #6A80C9

Accessibility & contrast

On white

9.01
#314587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#314587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314587
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314587#FFFFFF#000000##FFFFFF
##3145871.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#154586
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314587;
/* rgb */ color: rgb(49, 69, 135);
/* oklch */ color: oklch(41.0% 0.113 268.4);
Tailwind
colors: {
  custom: {
    50: '#7278aa',
    500: '#314587',
    950: '#000000',
  },
}
SCSS
$custom: #314587;
$custom-light: #7278aa;
$custom-dark: #000000;
JSON
{
  "hex": "#314587",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 226.047,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.11269,
    "h": 268.4
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#314587
secondary
#B09E64
accent
#B751D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314587

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

Preview Lab → · Contrast checker → · Palette generator →

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