#314995#314995

#314995 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.128 H 267.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#314995
RGBrgb(49, 73, 149)
HSLhsl(226, 51%, 39%)
HSVhsv(226, 67%, 58%)
CMYKcmyk(67.1%, 51%, 0%, 41.6%)
CIE-LABlab(33.11, 16.83, -44.62)
CIE-LCHlch(33.11, 47.69, 290.67°)
OKLaboklab(42.95% -0.0054 -0.1279)
OKLCHoklch(42.95% 0.128 267.6)
XYZxyz(9.0721, 7.5871, 29.4143)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314995 #957D31
analogous
#317B95 #314995 #4B3195
triadic
#314995 #953149 #499531
tetradic
#314995 #95317B #957D31 #31954B
square
#314995 #95317B #957D31 #31954B
split-complementary
#314995 #954B31 #7B9531
monochromatic
#131C39 #223267 #314995 #4261C1 #7087D0

Accessibility & contrast

On white

8.34
#314995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#314995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314995
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314995#FFFFFF#000000##FFFFFF
##3149951.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5398
Deuteranopia (green-blind)
#004A93
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314995;
/* rgb */ color: rgb(49, 73, 149);
/* oklch */ color: oklch(42.9% 0.128 267.6);
Tailwind
colors: {
  custom: {
    50: '#757bb5',
    500: '#314995',
    950: '#000000',
  },
}
SCSS
$custom: #314995;
$custom-light: #757bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#314995",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 149
  },
  "hsl": {
    "h": 225.6,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42945,
    "c": 0.12805,
    "h": 267.6
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#314995
secondary
#B8A56A
accent
#B84EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314995

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

Preview Lab → · Contrast checker → · Palette generator →

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