#314288#314288

#314288 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.5% C 0.118 H 270.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#314288
RGBrgb(49, 66, 136)
HSLhsl(228, 47%, 36%)
HSVhsv(228, 64%, 53%)
CMYKcmyk(64%, 51.5%, 0%, 46.7%)
CIE-LABlab(30.22, 16.72, -41.30)
CIE-LCHlch(30.22, 44.55, 292.04°)
OKLaboklab(40.47% 0.0003 -0.1183)
OKLCHoklch(40.47% 0.118 270.1)
XYZxyz(7.6573, 6.3263, 24.1054)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314288 #887731
analogous
#316E88 #314288 #4C3188
triadic
#314288 #883142 #428831
tetradic
#314288 #88316E #887731 #31884C
square
#314288 #88316E #887731 #31884C
split-complementary
#314288 #884C31 #6E8831
monochromatic
#11162E #212C5B #314288 #4158B5 #6A7DC9

Accessibility & contrast

On white

9.27
#314288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#314288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314288
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314288#FFFFFF#000000##FFFFFF
##3142881.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B8B
Deuteranopia (green-blind)
#074387
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314288;
/* rgb */ color: rgb(49, 66, 136);
/* oklch */ color: oklch(40.5% 0.118 270.1);
Tailwind
colors: {
  custom: {
    50: '#7276ab',
    500: '#314288',
    950: '#000000',
  },
}
SCSS
$custom: #314288;
$custom-light: #7276ab;
$custom-dark: #000000;
JSON
{
  "hex": "#314288",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 228.276,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40467,
    "c": 0.11826,
    "h": 270.1
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#314288
secondary
#B1A264
accent
#BD51D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #314288

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

Preview Lab → · Contrast checker → · Palette generator →

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