#314CA1#314CA1

#314CA1 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.141 H 267.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#314CA1
RGBrgb(49, 76, 161)
HSLhsl(226, 53%, 41%)
HSVhsv(226, 70%, 63%)
CMYKcmyk(69.6%, 52.8%, 0%, 36.9%)
CIE-LABlab(34.79, 19.32, -49.16)
CIE-LCHlch(34.79, 52.82, 291.45°)
OKLaboklab(44.49% -0.007 -0.1412)
OKLCHoklch(44.49% 0.141 267.2)
XYZxyz(10.2819, 8.3940, 34.7897)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CA1 #A18631
analogous
#3184A1 #314CA1 #4E31A1
triadic
#314CA1 #A1314C #4CA131
tetradic
#314CA1 #A13184 #A18631 #31A14E
square
#314CA1 #A13184 #A18631 #31A14E
split-complementary
#314CA1 #A14E31 #84A131
monochromatic
#142043 #233672 #314CA1 #4867C7 #778ED6

Accessibility & contrast

On white

7.84
#314CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#314CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CA1
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CA1#FFFFFF#000000##FFFFFF
##314CA11.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314ca1;
/* rgb */ color: rgb(49, 76, 161);
/* oklch */ color: oklch(44.5% 0.141 267.2);
Tailwind
colors: {
  custom: {
    50: '#777dbd',
    500: '#314ca1',
    950: '#000000',
  },
}
SCSS
$custom: #314ca1;
$custom-light: #777dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#314ca1",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 225.536,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4449,
    "c": 0.14141,
    "h": 267.2
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#314CA1
secondary
#BEAB70
accent
#BA4BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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