#314488#314488

#314488 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.116 H 269.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#314488
RGBrgb(49, 68, 136)
HSLhsl(227, 47%, 36%)
HSVhsv(227, 64%, 53%)
CMYKcmyk(64%, 50%, 0%, 46.7%)
CIE-LABlab(30.79, 15.37, -40.38)
CIE-LCHlch(30.79, 43.20, 290.83°)
OKLaboklab(40.9% -0.0019 -0.1155)
OKLCHoklch(40.9% 0.116 269.1)
XYZxyz(7.7762, 6.5641, 24.1450)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314488 #887531
analogous
#317088 #314488 #4A3188
triadic
#314488 #883144 #448831
tetradic
#314488 #883170 #887531 #31884A
square
#314488 #883170 #887531 #31884A
split-complementary
#314488 #884A31 #708831
monochromatic
#11172E #212E5B #314488 #415AB5 #6A7FC9

Accessibility & contrast

On white

9.08
#314488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314488
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314488#FFFFFF#000000##FFFFFF
##3144881.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8A
Deuteranopia (green-blind)
#0F4587
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314488;
/* rgb */ color: rgb(49, 68, 136);
/* oklch */ color: oklch(40.9% 0.116 269.1);
Tailwind
colors: {
  custom: {
    50: '#7277ab',
    500: '#314488',
    950: '#000000',
  },
}
SCSS
$custom: #314488;
$custom-light: #7277ab;
$custom-dark: #000000;
JSON
{
  "hex": "#314488",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 136
  },
  "hsl": {
    "h": 226.897,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40901,
    "c": 0.11555,
    "h": 269.1
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#314488
secondary
#B1A064
accent
#B951D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314488

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

Preview Lab → · Contrast checker → · Palette generator →

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