#314BA1#314BA1

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

Color values

HEX#314BA1
RGBrgb(49, 75, 161)
HSLhsl(226, 53%, 41%)
HSVhsv(226, 70%, 63%)
CMYKcmyk(69.6%, 53.4%, 0%, 36.9%)
CIE-LABlab(34.51, 19.98, -49.61)
CIE-LCHlch(34.51, 53.48, 291.94°)
OKLaboklab(44.28% -0.0061 -0.1426)
OKLCHoklch(44.28% 0.143 267.6)
XYZxyz(10.2135, 8.2573, 34.7669)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BA1 #A18731
analogous
#3183A1 #314BA1 #4F31A1
triadic
#314BA1 #A1314B #4BA131
tetradic
#314BA1 #A13183 #A18731 #31A14F
square
#314BA1 #A13183 #A18731 #31A14F
split-complementary
#314BA1 #A14F31 #83A131
monochromatic
#141F43 #233572 #314BA1 #4865C7 #778DD6

Accessibility & contrast

On white

7.92
#314BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#314BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BA1
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BA1#FFFFFF#000000##FFFFFF
##314BA11.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #314ba1;
/* rgb */ color: rgb(49, 75, 161);
/* oklch */ color: oklch(44.3% 0.143 267.6);
Tailwind
colors: {
  custom: {
    50: '#777cbd',
    500: '#314ba1',
    950: '#000000',
  },
}
SCSS
$custom: #314ba1;
$custom-light: #777cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#314ba1",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 226.071,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4428,
    "c": 0.14271,
    "h": 267.6
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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