#314097#314097

#314097 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.143 H 271.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#314097
RGBrgb(49, 64, 151)
HSLhsl(231, 51%, 39%)
HSVhsv(231, 68%, 59%)
CMYKcmyk(67.5%, 57.6%, 0%, 40.8%)
CIE-LABlab(30.77, 23.61, -49.62)
CIE-LCHlch(30.77, 54.95, 295.45°)
OKLaboklab(41.23% 0.0033 -0.1428)
OKLCHoklch(41.23% 0.143 271.3)
XYZxyz(8.6840, 6.5533, 30.0794)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314097 #978831
analogous
#317397 #314097 #553197
triadic
#314097 #973140 #409731
tetradic
#314097 #973173 #978831 #319755
square
#314097 #973173 #978831 #319755
split-complementary
#314097 #975531 #739731
monochromatic
#13193B #222C69 #314097 #4356C2 #717FD1

Accessibility & contrast

On white

9.09
#314097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#314097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314097
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314097#FFFFFF#000000##FFFFFF
##3140971.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314097;
/* rgb */ color: rgb(49, 64, 151);
/* oklch */ color: oklch(41.2% 0.143 271.3);
Tailwind
colors: {
  custom: {
    50: '#7674b6',
    500: '#314097',
    950: '#000000',
  },
}
SCSS
$custom: #314097;
$custom-light: #7674b6;
$custom-dark: #000000;
JSON
{
  "hex": "#314097",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 231.176,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41228,
    "c": 0.14282,
    "h": 271.3
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314097

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

Preview Lab → · Contrast checker → · Palette generator →

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