#314166#314166

#314166 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.067 H 265.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#314166
RGBrgb(49, 65, 102)
HSLhsl(222, 35%, 30%)
HSVhsv(222, 52%, 40%)
CMYKcmyk(52%, 36.3%, 0%, 60%)
CIE-LABlab(27.82, 5.13, -23.71)
CIE-LCHlch(27.82, 24.26, 282.21°)
OKLaboklab(37.95% -0.0052 -0.0667)
OKLCHoklch(37.95% 0.067 265.6)
XYZxyz(5.5544, 5.3925, 13.3160)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314166 #665631
analogous
#315C66 #314166 #3C3166
triadic
#314166 #663141 #416631
tetradic
#314166 #66315C #665631 #31663C
square
#314166 #66315C #665631 #31663C
split-complementary
#314166 #663C31 #5C6631
monochromatic
#0A0D15 #1D273D #314166 #455B8F #5F78B2

Accessibility & contrast

On white

10.10
#314166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#314166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314166
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314166#FFFFFF#000000##FFFFFF
##3141661.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334468
Deuteranopia (green-blind)
#2D3F65
Tritanopia (blue-blind)
#1B494E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #314166;
/* rgb */ color: rgb(49, 65, 102);
/* oklch */ color: oklch(38.0% 0.067 265.6);
Tailwind
colors: {
  custom: {
    50: '#6d7592',
    500: '#314166',
    950: '#000000',
  },
}
SCSS
$custom: #314166;
$custom-light: #6d7592;
$custom-dark: #000000;
JSON
{
  "hex": "#314166",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 221.887,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3795,
    "c": 0.06695,
    "h": 265.6
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#314166
secondary
#97855C
accent
#AA5DCB
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#07080D
muted
#7A7B7D

Preview Lab

Preview with #314166

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

Preview Lab → · Contrast checker → · Palette generator →

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