#314992#314992

#314992 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.124 H 267.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#314992
RGBrgb(49, 73, 146)
HSLhsl(225, 50%, 38%)
HSVhsv(225, 66%, 57%)
CMYKcmyk(66.4%, 50%, 0%, 42.7%)
CIE-LABlab(32.90, 15.71, -43.12)
CIE-LCHlch(32.90, 45.90, 290.02°)
OKLaboklab(42.72% -0.0058 -0.1235)
OKLCHoklch(42.72% 0.124 267.3)
XYZxyz(8.8357, 7.4926, 28.1691)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314992 #927A31
analogous
#317992 #314992 #493192
triadic
#314992 #923149 #499231
tetradic
#314992 #923179 #927A31 #319249
square
#314992 #923179 #927A31 #319249
split-complementary
#314992 #924931 #799231
monochromatic
#121B36 #223264 #314992 #4160BF #6F86CF

Accessibility & contrast

On white

8.40
#314992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#314992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314992
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314992#FFFFFF#000000##FFFFFF
##3149921.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225295
Deuteranopia (green-blind)
#0A4990
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314992;
/* rgb */ color: rgb(49, 73, 146);
/* oklch */ color: oklch(42.7% 0.124 267.3);
Tailwind
colors: {
  custom: {
    50: '#747bb2',
    500: '#314992',
    950: '#000000',
  },
}
SCSS
$custom: #314992;
$custom-light: #747bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#314992",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 146
  },
  "hsl": {
    "h": 225.155,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.12367,
    "h": 267.3
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#314992
secondary
#B6A369
accent
#B74FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314992

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

Preview Lab → · Contrast checker → · Palette generator →

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