#314386#314386

#314386 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.114 H 269.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#314386
RGBrgb(49, 67, 134)
HSLhsl(227, 46%, 36%)
HSVhsv(227, 63%, 53%)
CMYKcmyk(63.4%, 50%, 0%, 47.5%)
CIE-LABlab(30.37, 15.30, -39.82)
CIE-LCHlch(30.37, 42.66, 291.02°)
OKLaboklab(40.54% -0.0011 -0.1139)
OKLCHoklch(40.54% 0.114 269.5)
XYZxyz(7.5754, 6.3879, 23.3834)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314386 #867431
analogous
#316D86 #314386 #493186
triadic
#314386 #863143 #438631
tetradic
#314386 #86316D #867431 #318649
square
#314386 #86316D #867431 #318649
split-complementary
#314386 #864931 #6D8631
monochromatic
#10162C #212D59 #314386 #4159B3 #697DC8

Accessibility & contrast

On white

9.22
#314386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#314386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314386
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314386#FFFFFF#000000##FFFFFF
##3143861.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B88
Deuteranopia (green-blind)
#104485
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314386;
/* rgb */ color: rgb(49, 67, 134);
/* oklch */ color: oklch(40.5% 0.114 269.5);
Tailwind
colors: {
  custom: {
    50: '#7276aa',
    500: '#314386',
    950: '#000000',
  },
}
SCSS
$custom: #314386;
$custom-light: #7276aa;
$custom-dark: #000000;
JSON
{
  "hex": "#314386",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 134
  },
  "hsl": {
    "h": 227.294,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40537,
    "c": 0.11391,
    "h": 269.5
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#314386
secondary
#B09F63
accent
#BA52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314386

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

Preview Lab → · Contrast checker → · Palette generator →

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