#314FA9#314FA9

#314FA9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.149 H 266.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#314FA9
RGBrgb(49, 79, 169)
HSLhsl(225, 55%, 43%)
HSVhsv(225, 71%, 66%)
CMYKcmyk(71%, 53.3%, 0%, 33.7%)
CIE-LABlab(36.19, 20.32, -51.68)
CIE-LCHlch(36.19, 55.53, 291.47°)
OKLaboklab(45.73% -0.0089 -0.1486)
OKLCHoklch(45.73% 0.149 266.6)
XYZxyz(11.2215, 9.1084, 38.6951)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FA9 #A98B31
analogous
#318BA9 #314FA9 #4F31A9
triadic
#314FA9 #A9314F #4FA931
tetradic
#314FA9 #A9318B #A98B31 #31A94F
square
#314FA9 #A9318B #A98B31 #31A94F
split-complementary
#314FA9 #A94F31 #8BA931
monochromatic
#15234A #23397A #314FA9 #4C6CCB #7C93D9

Accessibility & contrast

On white

7.44
#314FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#314FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314FA9
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FA9#FFFFFF#000000##FFFFFF
##314FA91.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115BAC
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314fa9;
/* rgb */ color: rgb(49, 79, 169);
/* oklch */ color: oklch(45.7% 0.149 266.6);
Tailwind
colors: {
  custom: {
    50: '#787fc3',
    500: '#314fa9',
    950: '#000000',
  },
}
SCSS
$custom: #314fa9;
$custom-light: #787fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#314fa9",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 225,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45732,
    "c": 0.14888,
    "h": 266.6
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#314FA9
secondary
#C1AE74
accent
#B949DE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #314FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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