#314486#314486

#314486 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.8% C 0.113 H 268.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#314486
RGBrgb(49, 68, 134)
HSLhsl(227, 46%, 36%)
HSVhsv(227, 63%, 53%)
CMYKcmyk(63.4%, 49.3%, 0%, 47.5%)
CIE-LABlab(30.66, 14.63, -39.36)
CIE-LCHlch(30.66, 41.99, 290.39°)
OKLaboklab(40.76% -0.0022 -0.1125)
OKLCHoklch(40.76% 0.113 268.9)
XYZxyz(7.6354, 6.5078, 23.4034)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314486 #867331
analogous
#316E86 #314486 #483186
triadic
#314486 #863144 #448631
tetradic
#314486 #86316E #867331 #318648
square
#314486 #86316E #867331 #318648
split-complementary
#314486 #864831 #6E8631
monochromatic
#10172C #212D59 #314486 #415BB3 #697EC8

Accessibility & contrast

On white

9.12
#314486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#314486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314486
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314486#FFFFFF#000000##FFFFFF
##3144861.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C88
Deuteranopia (green-blind)
#134585
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314486;
/* rgb */ color: rgb(49, 68, 134);
/* oklch */ color: oklch(40.8% 0.113 268.9);
Tailwind
colors: {
  custom: {
    50: '#7277aa',
    500: '#314486',
    950: '#000000',
  },
}
SCSS
$custom: #314486;
$custom-light: #7277aa;
$custom-dark: #000000;
JSON
{
  "hex": "#314486",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 134
  },
  "hsl": {
    "h": 226.588,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40756,
    "c": 0.11254,
    "h": 268.9
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314486

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

Preview Lab → · Contrast checker → · Palette generator →

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