#314487#314487

#314487 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.8% C 0.114 H 269.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#314487
RGBrgb(49, 68, 135)
HSLhsl(227, 47%, 36%)
HSVhsv(227, 64%, 53%)
CMYKcmyk(63.7%, 49.6%, 0%, 47.1%)
CIE-LABlab(30.73, 14.99, -39.87)
CIE-LCHlch(30.73, 42.59, 290.61°)
OKLaboklab(40.83% -0.002 -0.114)
OKLCHoklch(40.83% 0.114 269)
XYZxyz(7.7054, 6.5358, 23.7724)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314487 #877431
analogous
#316F87 #314487 #493187
triadic
#314487 #873144 #448731
tetradic
#314487 #87316F #877431 #318749
square
#314487 #87316F #877431 #318749
split-complementary
#314487 #874931 #6F8731
monochromatic
#10172D #212D5A #314487 #415BB4 #6A7FC9

Accessibility & contrast

On white

9.10
#314487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#314487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314487
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314487#FFFFFF#000000##FFFFFF
##3144871.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#114586
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314487;
/* rgb */ color: rgb(49, 68, 135);
/* oklch */ color: oklch(40.8% 0.114 269.0);
Tailwind
colors: {
  custom: {
    50: '#7277aa',
    500: '#314487',
    950: '#000000',
  },
}
SCSS
$custom: #314487;
$custom-light: #7277aa;
$custom-dark: #000000;
JSON
{
  "hex": "#314487",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 226.744,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40828,
    "c": 0.11405,
    "h": 269
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#314487
secondary
#B09F64
accent
#B951D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314487

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

Preview Lab → · Contrast checker → · Palette generator →

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