#314285#314285

#314285 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.2% C 0.114 H 269.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#314285
RGBrgb(49, 66, 133)
HSLhsl(228, 46%, 36%)
HSVhsv(228, 63%, 52%)
CMYKcmyk(63.2%, 50.4%, 0%, 47.8%)
CIE-LABlab(30.02, 15.61, -39.77)
CIE-LCHlch(30.02, 42.73, 291.43°)
OKLaboklab(40.24% -0.0001 -0.1138)
OKLCHoklch(40.24% 0.114 269.9)
XYZxyz(7.4471, 6.2422, 22.9982)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314285 #857431
analogous
#316C85 #314285 #4A3185
triadic
#314285 #853142 #428531
tetradic
#314285 #85316C #857431 #31854A
square
#314285 #85316C #857431 #31854A
split-complementary
#314285 #854A31 #6C8531
monochromatic
#10162C #212C58 #314285 #4158B2 #697CC8

Accessibility & contrast

On white

9.34
#314285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314285
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314285#FFFFFF#000000##FFFFFF
##3142851.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B87
Deuteranopia (green-blind)
#0F4384
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314285;
/* rgb */ color: rgb(49, 66, 133);
/* oklch */ color: oklch(40.2% 0.114 269.9);
Tailwind
colors: {
  custom: {
    50: '#7276a9',
    500: '#314285',
    950: '#000000',
  },
}
SCSS
$custom: #314285;
$custom-light: #7276a9;
$custom-dark: #000000;
JSON
{
  "hex": "#314285",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 227.857,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40245,
    "c": 0.11377,
    "h": 269.9
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#314285
secondary
#AFA063
accent
#BB52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314285

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

Preview Lab → · Contrast checker → · Palette generator →

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