#314CA5#314CA5

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

Color values

HEX#314CA5
RGBrgb(49, 76, 165)
HSLhsl(226, 54%, 42%)
HSVhsv(226, 70%, 65%)
CMYKcmyk(70.3%, 53.9%, 0%, 35.3%)
CIE-LABlab(35.08, 20.81, -51.09)
CIE-LCHlch(35.08, 55.17, 292.16°)
OKLaboklab(44.8% -0.0066 -0.1469)
OKLCHoklch(44.8% 0.147 267.4)
XYZxyz(10.6402, 8.5374, 36.6771)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CA5 #A58A31
analogous
#3186A5 #314CA5 #5031A5
triadic
#314CA5 #A5314C #4CA531
tetradic
#314CA5 #A53186 #A58A31 #31A550
square
#314CA5 #A53186 #A58A31 #31A550
split-complementary
#314CA5 #A55031 #86A531
monochromatic
#152147 #233676 #314CA5 #4A68C9 #798FD7

Accessibility & contrast

On white

7.76
#314CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#314CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CA5
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CA5#FFFFFF#000000##FFFFFF
##314CA51.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C58A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314ca5;
/* rgb */ color: rgb(49, 76, 165);
/* oklch */ color: oklch(44.8% 0.147 267.4);
Tailwind
colors: {
  custom: {
    50: '#787dc0',
    500: '#314ca5',
    950: '#000000',
  },
}
SCSS
$custom: #314ca5;
$custom-light: #787dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#314ca5",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 226.034,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44798,
    "c": 0.14708,
    "h": 267.4
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#314CA5
secondary
#C0AE72
accent
#BB4ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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