#314F9C#314F9C

#314F9C is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.130 H 265.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#314F9C
RGBrgb(49, 79, 156)
HSLhsl(223, 52%, 40%)
HSVhsv(223, 69%, 61%)
CMYKcmyk(68.6%, 49.4%, 0%, 38.8%)
CIE-LABlab(35.29, 15.45, -45.34)
CIE-LCHlch(35.29, 47.90, 288.81°)
OKLaboklab(44.76% -0.0104 -0.13)
OKLCHoklch(44.76% 0.13 265.4)
XYZxyz(10.0613, 8.6443, 32.5843)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F9C #9C7E31
analogous
#31849C #314F9C #49319C
triadic
#314F9C #9C314F #4F9C31
tetradic
#314F9C #9C3184 #9C7E31 #319C49
square
#314F9C #9C3184 #9C7E31 #319C49
split-complementary
#314F9C #9C4931 #849C31
monochromatic
#14203F #22376D #314F9C #4569C5 #748FD3

Accessibility & contrast

On white

7.70
#314F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#314F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314F9C
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314F9C#FFFFFF#000000##FFFFFF
##314F9C1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589F
Deuteranopia (green-blind)
#094E9A
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #314f9c;
/* rgb */ color: rgb(49, 79, 156);
/* oklch */ color: oklch(44.8% 0.130 265.4);
Tailwind
colors: {
  custom: {
    50: '#767fba',
    500: '#314f9c',
    950: '#000000',
  },
}
SCSS
$custom: #314f9c;
$custom-light: #767fba;
$custom-dark: #000000;
JSON
{
  "hex": "#314f9c",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 156
  },
  "hsl": {
    "h": 223.178,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44759,
    "c": 0.13038,
    "h": 265.4
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

primary
#314F9C
secondary
#BBA66D
accent
#B34CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #314F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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