#314167#314167

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

Color values

HEX#314167
RGBrgb(49, 65, 103)
HSLhsl(222, 36%, 30%)
HSVhsv(222, 52%, 40%)
CMYKcmyk(52.4%, 36.9%, 0%, 59.6%)
CIE-LABlab(27.88, 5.48, -24.27)
CIE-LCHlch(27.88, 24.88, 282.71°)
OKLaboklab(38.01% -0.0049 -0.0684)
OKLCHoklch(38.01% 0.069 265.9)
XYZxyz(5.6043, 5.4125, 13.5787)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314167 #675731
analogous
#315C67 #314167 #3C3167
triadic
#314167 #673141 #416731
tetradic
#314167 #67315C #675731 #31673C
square
#314167 #67315C #675731 #31673C
split-complementary
#314167 #673C31 #5C6731
monochromatic
#0A0D15 #1D273E #314167 #455B90 #5F78B3

Accessibility & contrast

On white

10.08
#314167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314167
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314167#FFFFFF#000000##FFFFFF
##3141671.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334469
Deuteranopia (green-blind)
#2D4066
Tritanopia (blue-blind)
#1A494F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #314167;
/* rgb */ color: rgb(49, 65, 103);
/* oklch */ color: oklch(38.0% 0.069 265.9);
Tailwind
colors: {
  custom: {
    50: '#6d7592',
    500: '#314167',
    950: '#000000',
  },
}
SCSS
$custom: #314167;
$custom-light: #6d7592;
$custom-dark: #000000;
JSON
{
  "hex": "#314167",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 103
  },
  "hsl": {
    "h": 222.222,
    "s": 35.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3801,
    "c": 0.06855,
    "h": 265.9
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#314167
secondary
#98865C
accent
#AB5CCC
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #314167

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

Preview Lab → · Contrast checker → · Palette generator →

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