#314FA6#314FA6

#314FA6 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.145 H 266.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#314FA6
RGBrgb(49, 79, 166)
HSLhsl(225, 54%, 42%)
HSVhsv(225, 70%, 65%)
CMYKcmyk(70.5%, 52.4%, 0%, 34.9%)
CIE-LABlab(35.98, 19.20, -50.23)
CIE-LCHlch(35.98, 53.78, 290.91°)
OKLaboklab(45.5% -0.0092 -0.1444)
OKLCHoklch(45.5% 0.145 266.4)
XYZxyz(10.9431, 8.9970, 37.2289)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FA6 #A68831
analogous
#318AA6 #314FA6 #4D31A6
triadic
#314FA6 #A6314F #4FA631
tetradic
#314FA6 #A6318A #A68831 #31A64D
square
#314FA6 #A6318A #A68831 #31A64D
split-complementary
#314FA6 #A64D31 #8AA631
monochromatic
#152247 #233977 #314FA6 #4A6BCA #7A92D8

Accessibility & contrast

On white

7.50
#314FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#314FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314FA6
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FA6#FFFFFF#000000##FFFFFF
##314FA61.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185AA9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314fa6;
/* rgb */ color: rgb(49, 79, 166);
/* oklch */ color: oklch(45.5% 0.145 266.4);
Tailwind
colors: {
  custom: {
    50: '#787fc1',
    500: '#314fa6',
    950: '#000000',
  },
}
SCSS
$custom: #314fa6;
$custom-light: #787fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#314fa6",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 224.615,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45503,
    "c": 0.14465,
    "h": 266.4
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#314FA6
secondary
#C0AC73
accent
#B84ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #314FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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