#314197#314197

#314197 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.141 H 271.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#314197
RGBrgb(49, 65, 151)
HSLhsl(231, 51%, 39%)
HSVhsv(231, 68%, 59%)
CMYKcmyk(67.5%, 57%, 0%, 40.8%)
CIE-LABlab(31.04, 22.94, -49.19)
CIE-LCHlch(31.04, 54.27, 295.01°)
OKLaboklab(41.43% 0.0024 -0.1415)
OKLCHoklch(41.43% 0.142 271)
XYZxyz(8.7409, 6.6671, 30.0984)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314197 #978731
analogous
#317497 #314197 #543197
triadic
#314197 #973141 #419731
tetradic
#314197 #973174 #978731 #319754
square
#314197 #973174 #978731 #319754
split-complementary
#314197 #975431 #749731
monochromatic
#13193B #222D69 #314197 #4357C2 #7180D1

Accessibility & contrast

On white

9.00
#314197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#314197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314197
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314197#FFFFFF#000000##FFFFFF
##3141971.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314197;
/* rgb */ color: rgb(49, 65, 151);
/* oklch */ color: oklch(41.4% 0.141 271.0);
Tailwind
colors: {
  custom: {
    50: '#7575b6',
    500: '#314197',
    950: '#000000',
  },
}
SCSS
$custom: #314197;
$custom-light: #7575b6;
$custom-dark: #000000;
JSON
{
  "hex": "#314197",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 230.588,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41429,
    "c": 0.1415,
    "h": 271
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#314197
secondary
#B9AD6B
accent
#C44DDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314197

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

Preview Lab → · Contrast checker → · Palette generator →

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