#314B9B#314B9B

#314B9B is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.134 H 267.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#314B9B
RGBrgb(49, 75, 155)
HSLhsl(225, 52%, 40%)
HSVhsv(225, 68%, 61%)
CMYKcmyk(68.4%, 51.6%, 0%, 39.2%)
CIE-LABlab(34.09, 17.74, -46.68)
CIE-LCHlch(34.09, 49.93, 290.81°)
OKLaboklab(43.82% -0.0067 -0.134)
OKLCHoklch(43.82% 0.134 267.2)
XYZxyz(9.6971, 8.0507, 32.0469)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B9B #9B8131
analogous
#31809B #314B9B #4C319B
triadic
#314B9B #9B314B #4B9B31
tetradic
#314B9B #9B3180 #9B8131 #319B4C
square
#314B9B #9B3180 #9B8131 #319B4C
split-complementary
#314B9B #9B4C31 #809B31
monochromatic
#141E3E #22346D #314B9B #4564C4 #738BD3

Accessibility & contrast

On white

8.04
#314B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#314B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B9B
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B9B#FFFFFF#000000##FFFFFF
##314B9B1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314b9b;
/* rgb */ color: rgb(49, 75, 155);
/* oklch */ color: oklch(43.8% 0.134 267.2);
Tailwind
colors: {
  custom: {
    50: '#767cb9',
    500: '#314b9b',
    950: '#000000',
  },
}
SCSS
$custom: #314b9b;
$custom-light: #767cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#314b9b",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 155
  },
  "hsl": {
    "h": 225.283,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.43823,
    "c": 0.13413,
    "h": 267.2
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#314B9B
secondary
#BBA86D
accent
#B84CDB
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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