#314990#314990

#314990 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.121 H 267.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#314990
RGBrgb(49, 73, 144)
HSLhsl(225, 49%, 38%)
HSVhsv(225, 66%, 56%)
CMYKcmyk(66%, 49.3%, 0%, 43.5%)
CIE-LABlab(32.77, 14.97, -42.12)
CIE-LCHlch(32.77, 44.70, 289.56°)
OKLaboklab(42.58% -0.006 -0.1206)
OKLCHoklch(42.58% 0.121 267.1)
XYZxyz(8.6815, 7.4309, 27.3569)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314990 #907831
analogous
#317890 #314990 #483190
triadic
#314990 #903149 #499031
tetradic
#314990 #903178 #907831 #319048
square
#314990 #903178 #907831 #319048
split-complementary
#314990 #904831 #789031
monochromatic
#121B35 #213262 #314990 #4160BE #6E86CE

Accessibility & contrast

On white

8.45
#314990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#314990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314990
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314990#FFFFFF#000000##FFFFFF
##3149901.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245293
Deuteranopia (green-blind)
#10498F
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314990;
/* rgb */ color: rgb(49, 73, 144);
/* oklch */ color: oklch(42.6% 0.121 267.1);
Tailwind
colors: {
  custom: {
    50: '#747bb1',
    500: '#314990',
    950: '#000000',
  },
}
SCSS
$custom: #314990;
$custom-light: #747bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#314990",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 144
  },
  "hsl": {
    "h": 224.842,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42578,
    "c": 0.12072,
    "h": 267.1
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#314990
secondary
#B5A268
accent
#B64FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314990

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

Preview Lab → · Contrast checker → · Palette generator →

#314990 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva