#314A92#314A92

#314A92 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.122 H 266.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#314A92
RGBrgb(49, 74, 146)
HSLhsl(225, 50%, 38%)
HSVhsv(225, 66%, 57%)
CMYKcmyk(66.4%, 49.3%, 0%, 42.7%)
CIE-LABlab(33.19, 15.04, -42.66)
CIE-LCHlch(33.19, 45.24, 289.42°)
OKLaboklab(42.94% -0.0068 -0.1222)
OKLCHoklch(42.94% 0.122 266.8)
XYZxyz(8.9019, 7.6250, 28.1912)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A92 #927931
analogous
#317A92 #314A92 #483192
triadic
#314A92 #92314A #4A9231
tetradic
#314A92 #92317A #927931 #319248
square
#314A92 #92317A #927931 #319248
split-complementary
#314A92 #924831 #7A9231
monochromatic
#121C36 #223364 #314A92 #4162BF #6F87CF

Accessibility & contrast

On white

8.32
#314A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#314A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A92
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A92#FFFFFF#000000##FFFFFF
##314A921.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245395
Deuteranopia (green-blind)
#0F4A91
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314a92;
/* rgb */ color: rgb(49, 74, 146);
/* oklch */ color: oklch(42.9% 0.122 266.8);
Tailwind
colors: {
  custom: {
    50: '#747cb2',
    500: '#314a92',
    950: '#000000',
  },
}
SCSS
$custom: #314a92;
$custom-light: #747cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#314a92",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 146
  },
  "hsl": {
    "h": 224.536,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42942,
    "c": 0.12235,
    "h": 266.8
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#314A92
secondary
#B6A269
accent
#B64FD9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314A92

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

Preview Lab → · Contrast checker → · Palette generator →

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