#314BA2#314BA2

#314BA2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.144 H 267.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#314BA2
RGBrgb(49, 75, 162)
HSLhsl(226, 54%, 41%)
HSVhsv(226, 70%, 64%)
CMYKcmyk(69.8%, 53.7%, 0%, 36.5%)
CIE-LABlab(34.59, 20.36, -50.09)
CIE-LCHlch(34.59, 54.07, 292.12°)
OKLaboklab(44.36% -0.006 -0.144)
OKLCHoklch(44.36% 0.144 267.6)
XYZxyz(10.3020, 8.2927, 35.2331)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BA2 #A28831
analogous
#3184A2 #314BA2 #5031A2
triadic
#314BA2 #A2314B #4BA231
tetradic
#314BA2 #A23184 #A28831 #31A250
square
#314BA2 #A23184 #A28831 #31A250
split-complementary
#314BA2 #A25031 #84A231
monochromatic
#151F44 #233573 #314BA2 #4866C8 #778DD6

Accessibility & contrast

On white

7.90
#314BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#314BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BA2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BA2#FFFFFF#000000##FFFFFF
##314BA21.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #314ba2;
/* rgb */ color: rgb(49, 75, 162);
/* oklch */ color: oklch(44.4% 0.144 267.6);
Tailwind
colors: {
  custom: {
    50: '#777cbe',
    500: '#314ba2',
    950: '#000000',
  },
}
SCSS
$custom: #314ba2;
$custom-light: #777cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#314ba2",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 226.195,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44357,
    "c": 0.14412,
    "h": 267.6
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#314BA2
secondary
#BEAC71
accent
#BB4BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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