#314E9C#314E9C

#314E9C is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.132 H 265.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#314E9C
RGBrgb(49, 78, 156)
HSLhsl(224, 52%, 40%)
HSVhsv(224, 69%, 61%)
CMYKcmyk(68.6%, 50%, 0%, 38.8%)
CIE-LABlab(35.01, 16.11, -45.80)
CIE-LCHlch(35.01, 48.55, 289.38°)
OKLaboklab(44.54% -0.0094 -0.1313)
OKLCHoklch(44.54% 0.132 265.9)
XYZxyz(9.9897, 8.5011, 32.5605)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E9C #9C7F31
analogous
#31849C #314E9C #49319C
triadic
#314E9C #9C314E #4E9C31
tetradic
#314E9C #9C3184 #9C7F31 #319C49
square
#314E9C #9C3184 #9C7F31 #319C49
split-complementary
#314E9C #9C4931 #849C31
monochromatic
#141F3F #22376D #314E9C #4568C5 #748ED3

Accessibility & contrast

On white

7.78
#314E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#314E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E9C
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E9C#FFFFFF#000000##FFFFFF
##314E9C1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579F
Deuteranopia (green-blind)
#034E9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314e9c;
/* rgb */ color: rgb(49, 78, 156);
/* oklch */ color: oklch(44.5% 0.132 265.9);
Tailwind
colors: {
  custom: {
    50: '#767fba',
    500: '#314e9c',
    950: '#000000',
  },
}
SCSS
$custom: #314e9c;
$custom-light: #767fba;
$custom-dark: #000000;
JSON
{
  "hex": "#314e9c",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 223.738,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44542,
    "c": 0.13168,
    "h": 265.9
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#314E9C
secondary
#BBA66D
accent
#B54CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #314E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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