#314397#314397

#314397 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.139 H 270.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#314397
RGBrgb(49, 67, 151)
HSLhsl(229, 51%, 39%)
HSVhsv(229, 68%, 59%)
CMYKcmyk(67.5%, 55.6%, 0%, 40.8%)
CIE-LABlab(31.58, 21.60, -48.31)
CIE-LCHlch(31.58, 52.92, 294.10°)
OKLaboklab(41.84% 0.0005 -0.1389)
OKLCHoklch(41.84% 0.139 270.2)
XYZxyz(8.8578, 6.9008, 30.1373)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314397 #978531
analogous
#317697 #314397 #523197
triadic
#314397 #973143 #439731
tetradic
#314397 #973176 #978531 #319752
square
#314397 #973176 #978531 #319752
split-complementary
#314397 #975231 #769731
monochromatic
#131A3B #222E69 #314397 #435AC2 #7182D1

Accessibility & contrast

On white

8.82
#314397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#314397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314397
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314397#FFFFFF#000000##FFFFFF
##3143971.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014F9A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #314397;
/* rgb */ color: rgb(49, 67, 151);
/* oklch */ color: oklch(41.8% 0.139 270.2);
Tailwind
colors: {
  custom: {
    50: '#7576b6',
    500: '#314397',
    950: '#000000',
  },
}
SCSS
$custom: #314397;
$custom-light: #7576b6;
$custom-dark: #000000;
JSON
{
  "hex": "#314397",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 229.412,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41836,
    "c": 0.13887,
    "h": 270.2
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#314397
secondary
#B9AB6B
accent
#C24DDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314397

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

Preview Lab → · Contrast checker → · Palette generator →

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