#314CA3#314CA3

#314CA3 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.144 H 267.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#314CA3
RGBrgb(49, 76, 163)
HSLhsl(226, 54%, 42%)
HSVhsv(226, 70%, 64%)
CMYKcmyk(69.9%, 53.4%, 0%, 36.1%)
CIE-LABlab(34.93, 20.06, -50.13)
CIE-LCHlch(34.93, 53.99, 291.81°)
OKLaboklab(44.64% -0.0068 -0.1441)
OKLCHoklch(44.64% 0.144 267.3)
XYZxyz(10.4596, 8.4652, 35.7259)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CA3 #A38831
analogous
#3185A3 #314CA3 #4F31A3
triadic
#314CA3 #A3314C #4CA331
tetradic
#314CA3 #A33185 #A38831 #31A34F
square
#314CA3 #A33185 #A38831 #31A34F
split-complementary
#314CA3 #A34F31 #85A331
monochromatic
#152045 #233674 #314CA3 #4967C8 #788ED6

Accessibility & contrast

On white

7.80
#314CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#314CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CA3
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CA3#FFFFFF#000000##FFFFFF
##314CA31.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1158A6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314ca3;
/* rgb */ color: rgb(49, 76, 163);
/* oklch */ color: oklch(44.6% 0.144 267.3);
Tailwind
colors: {
  custom: {
    50: '#777dbf',
    500: '#314ca3',
    950: '#000000',
  },
}
SCSS
$custom: #314ca3;
$custom-light: #777dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#314ca3",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 225.789,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44643,
    "c": 0.14426,
    "h": 267.3
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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