#314A86#314A86

#314A86 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.105 H 265.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#314A86
RGBrgb(49, 74, 134)
HSLhsl(222, 46%, 36%)
HSVhsv(222, 63%, 53%)
CMYKcmyk(63.4%, 44.8%, 0%, 47.5%)
CIE-LABlab(32.42, 10.59, -36.54)
CIE-LCHlch(32.42, 38.05, 286.16°)
OKLaboklab(42.1% -0.0088 -0.1042)
OKLCHoklch(42.1% 0.105 265.2)
XYZxyz(8.0170, 7.2711, 23.5306)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A86 #866D31
analogous
#317486 #314A86 #423186
triadic
#314A86 #86314A #4A8631
tetradic
#314A86 #863174 #866D31 #318642
square
#314A86 #863174 #866D31 #318642
split-complementary
#314A86 #864231 #748631
monochromatic
#10192C #213159 #314A86 #4163B3 #6985C8

Accessibility & contrast

On white

8.56
#314A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#314A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A86
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A86#FFFFFF#000000##FFFFFF
##314A861.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5088
Deuteranopia (green-blind)
#224985
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314a86;
/* rgb */ color: rgb(49, 74, 134);
/* oklch */ color: oklch(42.1% 0.105 265.2);
Tailwind
colors: {
  custom: {
    50: '#727ca9',
    500: '#314a86',
    950: '#000000',
  },
}
SCSS
$custom: #314a86;
$custom-light: #727ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#314a86",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 134
  },
  "hsl": {
    "h": 222.353,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42101,
    "c": 0.10455,
    "h": 265.2
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#314A86
secondary
#B09963
accent
#AF52D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314A86

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

Preview Lab → · Contrast checker → · Palette generator →

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