#314A94#314A94

#314A94 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.125 H 267.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#314A94
RGBrgb(49, 74, 148)
HSLhsl(225, 50%, 39%)
HSVhsv(225, 67%, 58%)
CMYKcmyk(66.9%, 50%, 0%, 42%)
CIE-LABlab(33.32, 15.79, -43.66)
CIE-LCHlch(33.32, 46.43, 289.88°)
OKLaboklab(43.09% -0.0065 -0.1251)
OKLCHoklch(43.09% 0.125 267)
XYZxyz(9.0589, 7.6878, 29.0177)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A94 #947B31
analogous
#317B94 #314A94 #493194
triadic
#314A94 #94314A #4A9431
tetradic
#314A94 #94317B #947B31 #319449
square
#314A94 #94317B #947B31 #319449
split-complementary
#314A94 #944931 #7B9431
monochromatic
#131C38 #223366 #314A94 #4262C0 #7088D0

Accessibility & contrast

On white

8.27
#314A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314A94
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A94#FFFFFF#000000##FFFFFF
##314A941.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225397
Deuteranopia (green-blind)
#094A92
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314a94;
/* rgb */ color: rgb(49, 74, 148);
/* oklch */ color: oklch(43.1% 0.125 267.0);
Tailwind
colors: {
  custom: {
    50: '#747cb4',
    500: '#314a94',
    950: '#000000',
  },
}
SCSS
$custom: #314a94;
$custom-light: #747cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#314a94",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 148
  },
  "hsl": {
    "h": 224.848,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43088,
    "c": 0.12528,
    "h": 267
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#314A94
secondary
#B7A469
accent
#B64EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314A94

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

Preview Lab → · Contrast checker → · Palette generator →

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