#314284#314284

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

Color values

HEX#314284
RGBrgb(49, 66, 132)
HSLhsl(228, 46%, 35%)
HSVhsv(228, 63%, 52%)
CMYKcmyk(62.9%, 50%, 0%, 48.2%)
CIE-LABlab(29.95, 15.24, -39.26)
CIE-LCHlch(29.95, 42.11, 291.22°)
OKLaboklab(40.17% -0.0002 -0.1123)
OKLCHoklch(40.17% 0.112 269.9)
XYZxyz(7.3783, 6.2147, 22.6361)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314284 #847331
analogous
#316B84 #314284 #493184
triadic
#314284 #843142 #428431
tetradic
#314284 #84316B #847331 #318449
square
#314284 #84316B #847331 #318449
split-complementary
#314284 #844931 #6B8431
monochromatic
#10152B #202C57 #314284 #4258B1 #687CC7

Accessibility & contrast

On white

9.36
#314284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#314284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314284
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314284#FFFFFF#000000##FFFFFF
##3142841.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A86
Deuteranopia (green-blind)
#114383
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314284;
/* rgb */ color: rgb(49, 66, 132);
/* oklch */ color: oklch(40.2% 0.112 269.9);
Tailwind
colors: {
  custom: {
    50: '#7276a8',
    500: '#314284',
    950: '#000000',
  },
}
SCSS
$custom: #314284;
$custom-light: #7276a8;
$custom-dark: #000000;
JSON
{
  "hex": "#314284",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 227.711,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40172,
    "c": 0.11226,
    "h": 269.9
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314284

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

Preview Lab → · Contrast checker → · Palette generator →

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