#314C93#314C93

#314C93 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.121 H 265.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#314C93
RGBrgb(49, 76, 147)
HSLhsl(223, 50%, 38%)
HSVhsv(223, 67%, 58%)
CMYKcmyk(66.7%, 48.3%, 0%, 42.4%)
CIE-LABlab(33.83, 14.08, -42.24)
CIE-LCHlch(33.83, 44.52, 288.43°)
OKLaboklab(43.45% -0.0087 -0.1209)
OKLCHoklch(43.45% 0.121 265.9)
XYZxyz(9.1157, 7.9276, 28.6479)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C93 #937831
analogous
#317D93 #314C93 #473193
triadic
#314C93 #93314C #4C9331
tetradic
#314C93 #93317D #937831 #319347
square
#314C93 #93317D #937831 #319347
split-complementary
#314C93 #934731 #7D9331
monochromatic
#121D37 #223465 #314C93 #4164C0 #6F8ACF

Accessibility & contrast

On white

8.12
#314C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#314C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C93
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C93#FFFFFF#000000##FFFFFF
##314C931.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285496
Deuteranopia (green-blind)
#144B92
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314c93;
/* rgb */ color: rgb(49, 76, 147);
/* oklch */ color: oklch(43.5% 0.121 265.9);
Tailwind
colors: {
  custom: {
    50: '#747db3',
    500: '#314c93',
    950: '#000000',
  },
}
SCSS
$custom: #314c93;
$custom-light: #747db3;
$custom-dark: #000000;
JSON
{
  "hex": "#314c93",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 147
  },
  "hsl": {
    "h": 223.469,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43454,
    "c": 0.1212,
    "h": 265.9
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#314C93
secondary
#B7A169
accent
#B34EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314C93

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

Preview Lab → · Contrast checker → · Palette generator →

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