#314CA6#314CA6

#314CA6 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.148 H 267.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#314CA6
RGBrgb(49, 76, 166)
HSLhsl(226, 54%, 42%)
HSVhsv(226, 70%, 65%)
CMYKcmyk(70.5%, 54.2%, 0%, 34.9%)
CIE-LABlab(35.15, 21.19, -51.57)
CIE-LCHlch(35.15, 55.76, 292.33°)
OKLaboklab(44.88% -0.0065 -0.1483)
OKLCHoklch(44.88% 0.148 267.5)
XYZxyz(10.7316, 8.5739, 37.1584)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CA6 #A68B31
analogous
#3187A6 #314CA6 #5131A6
triadic
#314CA6 #A6314C #4CA631
tetradic
#314CA6 #A63187 #A68B31 #31A651
square
#314CA6 #A63187 #A68B31 #31A651
split-complementary
#314CA6 #A65131 #87A631
monochromatic
#152147 #233677 #314CA6 #4A68CA #7A8FD8

Accessibility & contrast

On white

7.73
#314CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#314CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CA6
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CA6#FFFFFF#000000##FFFFFF
##314CA61.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0958A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #314ca6;
/* rgb */ color: rgb(49, 76, 166);
/* oklch */ color: oklch(44.9% 0.148 267.5);
Tailwind
colors: {
  custom: {
    50: '#787dc1',
    500: '#314ca6',
    950: '#000000',
  },
}
SCSS
$custom: #314ca6;
$custom-light: #787dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#314ca6",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 226.154,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44877,
    "c": 0.14849,
    "h": 267.5
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#314CA6
secondary
#C0AE73
accent
#BC4ADE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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