#314E92#314E92

#314E92 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.117 H 264.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#314E92
RGBrgb(49, 78, 146)
HSLhsl(222, 50%, 38%)
HSVhsv(222, 66%, 57%)
CMYKcmyk(66.4%, 46.6%, 0%, 42.7%)
CIE-LABlab(34.35, 12.37, -40.80)
CIE-LCHlch(34.35, 42.64, 286.87°)
OKLaboklab(43.83% -0.0109 -0.1166)
OKLCHoklch(43.83% 0.117 264.7)
XYZxyz(9.1775, 8.1762, 28.2831)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E92 #927531
analogous
#317E92 #314E92 #443192
triadic
#314E92 #92314E #4E9231
tetradic
#314E92 #92317E #927531 #319244
square
#314E92 #92317E #927531 #319244
split-complementary
#314E92 #924431 #7E9231
monochromatic
#121D36 #223664 #314E92 #4167BF #6F8BCF

Accessibility & contrast

On white

7.97
#314E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#314E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E92
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E92#FFFFFF#000000##FFFFFF
##314E921.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5595
Deuteranopia (green-blind)
#1C4D91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #314e92;
/* rgb */ color: rgb(49, 78, 146);
/* oklch */ color: oklch(43.8% 0.117 264.7);
Tailwind
colors: {
  custom: {
    50: '#747fb2',
    500: '#314e92',
    950: '#000000',
  },
}
SCSS
$custom: #314e92;
$custom-light: #747fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#314e92",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 222.062,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43827,
    "c": 0.11715,
    "h": 264.7
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#314E92
secondary
#B69F69
accent
#B04FD9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #314E92

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

Preview Lab → · Contrast checker → · Palette generator →

#314E92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva