#314384#314384

#314384 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.4% C 0.111 H 269.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#314384
RGBrgb(49, 67, 132)
HSLhsl(227, 46%, 35%)
HSVhsv(227, 63%, 52%)
CMYKcmyk(62.9%, 49.2%, 0%, 48.2%)
CIE-LABlab(30.24, 14.56, -38.80)
CIE-LCHlch(30.24, 41.44, 290.58°)
OKLaboklab(40.39% -0.0013 -0.1109)
OKLCHoklch(40.39% 0.111 269.3)
XYZxyz(7.4372, 6.3326, 22.6557)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314384 #847231
analogous
#316C84 #314384 #483184
triadic
#314384 #843143 #438431
tetradic
#314384 #84316C #847231 #318448
square
#314384 #84316C #847231 #318448
split-complementary
#314384 #844831 #6C8431
monochromatic
#10162B #202C57 #314384 #425AB1 #687DC7

Accessibility & contrast

On white

9.26
#314384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#314384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314384
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314384#FFFFFF#000000##FFFFFF
##3143841.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#144483
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314384;
/* rgb */ color: rgb(49, 67, 132);
/* oklch */ color: oklch(40.4% 0.111 269.3);
Tailwind
colors: {
  custom: {
    50: '#7176a8',
    500: '#314384',
    950: '#000000',
  },
}
SCSS
$custom: #314384;
$custom-light: #7176a8;
$custom-dark: #000000;
JSON
{
  "hex": "#314384",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 132
  },
  "hsl": {
    "h": 226.988,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40391,
    "c": 0.1109,
    "h": 269.3
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#314384
secondary
#AE9E62
accent
#B952D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314384

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

Preview Lab → · Contrast checker → · Palette generator →

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