#314586#314586

#314586 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.0% C 0.111 H 268.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#314586
RGBrgb(49, 69, 134)
HSLhsl(226, 46%, 36%)
HSVhsv(226, 63%, 53%)
CMYKcmyk(63.4%, 48.5%, 0%, 47.5%)
CIE-LABlab(30.95, 13.95, -38.89)
CIE-LCHlch(30.95, 41.32, 289.73°)
OKLaboklab(40.98% -0.0032 -0.1111)
OKLCHoklch(40.98% 0.111 268.3)
XYZxyz(7.6964, 6.6298, 23.4237)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314586 #867231
analogous
#316F86 #314586 #473186
triadic
#314586 #863145 #458631
tetradic
#314586 #86316F #867231 #318647
square
#314586 #86316F #867231 #318647
split-complementary
#314586 #864731 #6F8631
monochromatic
#10172C #212E59 #314586 #415CB3 #6980C8

Accessibility & contrast

On white

9.03
#314586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#314586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314586
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314586#FFFFFF#000000##FFFFFF
##3145861.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D88
Deuteranopia (green-blind)
#164585
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314586;
/* rgb */ color: rgb(49, 69, 134);
/* oklch */ color: oklch(41.0% 0.111 268.3);
Tailwind
colors: {
  custom: {
    50: '#7278aa',
    500: '#314586',
    950: '#000000',
  },
}
SCSS
$custom: #314586;
$custom-light: #7278aa;
$custom-dark: #000000;
JSON
{
  "hex": "#314586",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 134
  },
  "hsl": {
    "h": 225.882,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40977,
    "c": 0.11119,
    "h": 268.3
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#314586
secondary
#B09E63
accent
#B752D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314586

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

Preview Lab → · Contrast checker → · Palette generator →

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