#314A95#314A95

#314A95 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.127 H 267.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#314A95
RGBrgb(49, 74, 149)
HSLhsl(225, 51%, 39%)
HSVhsv(225, 67%, 58%)
CMYKcmyk(67.1%, 50.3%, 0%, 41.6%)
CIE-LABlab(33.39, 16.16, -44.16)
CIE-LCHlch(33.39, 47.03, 290.10°)
OKLaboklab(43.16% -0.0064 -0.1266)
OKLCHoklch(43.16% 0.127 267.1)
XYZxyz(9.1383, 7.7196, 29.4364)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A95 #957C31
analogous
#317C95 #314A95 #4A3195
triadic
#314A95 #95314A #4A9531
tetradic
#314A95 #95317C #957C31 #31954A
square
#314A95 #95317C #957C31 #31954A
split-complementary
#314A95 #954A31 #7C9531
monochromatic
#131C39 #223367 #314A95 #4262C1 #7088D0

Accessibility & contrast

On white

8.25
#314A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#314A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A95
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A95#FFFFFF#000000##FFFFFF
##314A951.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215398
Deuteranopia (green-blind)
#064A93
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314a95;
/* rgb */ color: rgb(49, 74, 149);
/* oklch */ color: oklch(43.2% 0.127 267.1);
Tailwind
colors: {
  custom: {
    50: '#747cb5',
    500: '#314a95',
    950: '#000000',
  },
}
SCSS
$custom: #314a95;
$custom-light: #747cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#314a95",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 225,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43161,
    "c": 0.12673,
    "h": 267.1
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#314A95
secondary
#B8A46A
accent
#B74EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314A95

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

Preview Lab → · Contrast checker → · Palette generator →

#314A95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva