#314090#314090

#314090 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.133 H 271.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#314090
RGBrgb(49, 64, 144)
HSLhsl(231, 49%, 38%)
HSVhsv(231, 66%, 56%)
CMYKcmyk(66%, 55.6%, 0%, 43.5%)
CIE-LABlab(30.24, 21.03, -46.20)
CIE-LCHlch(30.24, 50.76, 294.47°)
OKLaboklab(40.66% 0.003 -0.1327)
OKLCHoklch(40.66% 0.133 271.3)
XYZxyz(8.1324, 6.3327, 27.1739)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314090 #908131
analogous
#317090 #314090 #513190
triadic
#314090 #903140 #409031
tetradic
#314090 #903170 #908131 #319051
square
#314090 #903170 #908131 #319051
split-complementary
#314090 #905131 #709031
monochromatic
#121735 #212C62 #314090 #4154BE #6E7DCE

Accessibility & contrast

On white

9.26
#314090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#314090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314090
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314090#FFFFFF#000000##FFFFFF
##3140901.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054C93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314090;
/* rgb */ color: rgb(49, 64, 144);
/* oklch */ color: oklch(40.7% 0.133 271.3);
Tailwind
colors: {
  custom: {
    50: '#7474b1',
    500: '#314090',
    950: '#000000',
  },
}
SCSS
$custom: #314090;
$custom-light: #7474b1;
$custom-dark: #000000;
JSON
{
  "hex": "#314090",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 144
  },
  "hsl": {
    "h": 230.526,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40662,
    "c": 0.13275,
    "h": 271.3
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#314090
secondary
#B5A968
accent
#C34FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314090

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

Preview Lab → · Contrast checker → · Palette generator →

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