#314A90#314A90

#314A90 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.119 H 266.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#314A90
RGBrgb(49, 74, 144)
HSLhsl(224, 49%, 38%)
HSVhsv(224, 66%, 56%)
CMYKcmyk(66%, 48.6%, 0%, 43.5%)
CIE-LABlab(33.06, 14.30, -41.66)
CIE-LCHlch(33.06, 44.04, 288.94°)
OKLaboklab(42.8% -0.0071 -0.1192)
OKLCHoklch(42.8% 0.119 266.6)
XYZxyz(8.7477, 7.5633, 27.3790)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A90 #907731
analogous
#317990 #314A90 #483190
triadic
#314A90 #90314A #4A9031
tetradic
#314A90 #903179 #907731 #319048
square
#314A90 #903179 #907731 #319048
split-complementary
#314A90 #904831 #799031
monochromatic
#121B35 #213362 #314A90 #4161BE #6E87CE

Accessibility & contrast

On white

8.36
#314A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#314A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A90
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A90#FFFFFF#000000##FFFFFF
##314A901.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265293
Deuteranopia (green-blind)
#134A8F
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314a90;
/* rgb */ color: rgb(49, 74, 144);
/* oklch */ color: oklch(42.8% 0.119 266.6);
Tailwind
colors: {
  custom: {
    50: '#737cb1',
    500: '#314a90',
    950: '#000000',
  },
}
SCSS
$custom: #314a90;
$custom-light: #737cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#314a90",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 144
  },
  "hsl": {
    "h": 224.211,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42798,
    "c": 0.11941,
    "h": 266.6
  },
  "luminance": 0.07564
}

Semantic roles & 50–950 ramp

primary
#314A90
secondary
#B5A168
accent
#B54FD9
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314A90

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

Preview Lab → · Contrast checker → · Palette generator →

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