#314889#314889

#314889 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.112 H 266.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#314889
RGBrgb(49, 72, 137)
HSLhsl(224, 47%, 36%)
HSVhsv(224, 64%, 54%)
CMYKcmyk(64.2%, 47.4%, 0%, 46.3%)
CIE-LABlab(32.02, 13.04, -39.03)
CIE-LCHlch(32.02, 41.15, 288.47°)
OKLaboklab(41.86% -0.006 -0.1115)
OKLCHoklch(41.86% 0.112 266.9)
XYZxyz(8.0978, 7.0931, 24.6044)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314889 #897231
analogous
#317489 #314889 #463189
triadic
#314889 #893148 #488931
tetradic
#314889 #893174 #897231 #318946
square
#314889 #893174 #897231 #318946
split-complementary
#314889 #894631 #748931
monochromatic
#11192F #21305C #314889 #4160B6 #6B83CA

Accessibility & contrast

On white

8.68
#314889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#314889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314889
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314889#FFFFFF#000000##FFFFFF
##3148891.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508B
Deuteranopia (green-blind)
#1A4888
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314889;
/* rgb */ color: rgb(49, 72, 137);
/* oklch */ color: oklch(41.9% 0.112 266.9);
Tailwind
colors: {
  custom: {
    50: '#727aac',
    500: '#314889',
    950: '#000000',
  },
}
SCSS
$custom: #314889;
$custom-light: #727aac;
$custom-dark: #000000;
JSON
{
  "hex": "#314889",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 224.318,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.11166,
    "h": 266.9
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#314889
secondary
#B19D64
accent
#B451D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314889

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

Preview Lab → · Contrast checker → · Palette generator →

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