#314286#314286

#314286 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.3% C 0.115 H 270.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#314286
RGBrgb(49, 66, 134)
HSLhsl(228, 46%, 36%)
HSVhsv(228, 63%, 53%)
CMYKcmyk(63.4%, 50.7%, 0%, 47.5%)
CIE-LABlab(30.08, 15.98, -40.28)
CIE-LCHlch(30.08, 43.34, 291.64°)
OKLaboklab(40.32% 0 -0.1153)
OKLCHoklch(40.32% 0.115 270)
XYZxyz(7.5165, 6.2700, 23.3638)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314286 #867531
analogous
#316C86 #314286 #4A3186
triadic
#314286 #863142 #428631
tetradic
#314286 #86316C #867531 #31864A
square
#314286 #86316C #867531 #31864A
split-complementary
#314286 #864A31 #6C8631
monochromatic
#10162C #212C59 #314286 #4158B3 #697CC8

Accessibility & contrast

On white

9.32
#314286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#314286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314286
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314286#FFFFFF#000000##FFFFFF
##3142861.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B88
Deuteranopia (green-blind)
#0C4385
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314286;
/* rgb */ color: rgb(49, 66, 134);
/* oklch */ color: oklch(40.3% 0.115 270.0);
Tailwind
colors: {
  custom: {
    50: '#7276aa',
    500: '#314286',
    950: '#000000',
  },
}
SCSS
$custom: #314286;
$custom-light: #7276aa;
$custom-dark: #000000;
JSON
{
  "hex": "#314286",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 228,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40319,
    "c": 0.11527,
    "h": 270
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#314286
secondary
#B0A063
accent
#BC52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314286

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

Preview Lab → · Contrast checker → · Palette generator →

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