#314CA4#314CA4

#314CA4 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.146 H 267.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#314CA4
RGBrgb(49, 76, 164)
HSLhsl(226, 54%, 42%)
HSVhsv(226, 70%, 64%)
CMYKcmyk(70.1%, 53.7%, 0%, 35.7%)
CIE-LABlab(35.01, 20.44, -50.61)
CIE-LCHlch(35.01, 54.58, 291.99°)
OKLaboklab(44.72% -0.0067 -0.1455)
OKLCHoklch(44.72% 0.146 267.4)
XYZxyz(10.5496, 8.5011, 36.1997)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CA4 #A48931
analogous
#3186A4 #314CA4 #5031A4
triadic
#314CA4 #A4314C #4CA431
tetradic
#314CA4 #A43186 #A48931 #31A450
square
#314CA4 #A43186 #A48931 #31A450
split-complementary
#314CA4 #A45031 #86A431
monochromatic
#152046 #233675 #314CA4 #4967C9 #798FD7

Accessibility & contrast

On white

7.78
#314CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#314CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CA4
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CA4#FFFFFF#000000##FFFFFF
##314CA41.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F58A7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314ca4;
/* rgb */ color: rgb(49, 76, 164);
/* oklch */ color: oklch(44.7% 0.146 267.4);
Tailwind
colors: {
  custom: {
    50: '#787dc0',
    500: '#314ca4',
    950: '#000000',
  },
}
SCSS
$custom: #314ca4;
$custom-light: #787dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#314ca4",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 225.913,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44721,
    "c": 0.14567,
    "h": 267.4
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#314CA4
secondary
#BFAD72
accent
#BB4ADD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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