#314484#314484

#314484 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.110 H 268.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#314484
RGBrgb(49, 68, 132)
HSLhsl(226, 46%, 35%)
HSVhsv(226, 63%, 52%)
CMYKcmyk(62.9%, 48.5%, 0%, 48.2%)
CIE-LABlab(30.53, 13.89, -38.33)
CIE-LCHlch(30.53, 40.77, 289.92°)
OKLaboklab(40.61% -0.0024 -0.1095)
OKLCHoklch(40.61% 0.11 268.7)
XYZxyz(7.4972, 6.4525, 22.6757)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314484 #847131
analogous
#316D84 #314484 #473184
triadic
#314484 #843144 #448431
tetradic
#314484 #84316D #847131 #318447
square
#314484 #84316D #847131 #318447
split-complementary
#314484 #844731 #6D8431
monochromatic
#10162B #202D57 #314484 #425BB1 #687EC7

Accessibility & contrast

On white

9.17
#314484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#314484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314484
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314484#FFFFFF#000000##FFFFFF
##3144841.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C86
Deuteranopia (green-blind)
#174483
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314484;
/* rgb */ color: rgb(49, 68, 132);
/* oklch */ color: oklch(40.6% 0.110 268.7);
Tailwind
colors: {
  custom: {
    50: '#7177a8',
    500: '#314484',
    950: '#000000',
  },
}
SCSS
$custom: #314484;
$custom-light: #7177a8;
$custom-dark: #000000;
JSON
{
  "hex": "#314484",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 132
  },
  "hsl": {
    "h": 226.265,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.10954,
    "h": 268.7
  },
  "luminance": 0.06453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314484

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

Preview Lab → · Contrast checker → · Palette generator →

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