#314366#314366

#314366 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.4% C 0.064 H 262.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#314366
RGBrgb(49, 67, 102)
HSLhsl(220, 35%, 30%)
HSVhsv(220, 52%, 40%)
CMYKcmyk(52%, 34.3%, 0%, 60%)
CIE-LABlab(28.45, 3.79, -22.73)
CIE-LCHlch(28.45, 23.05, 279.47°)
OKLaboklab(38.44% -0.0079 -0.0639)
OKLCHoklch(38.44% 0.064 262.9)
XYZxyz(5.6713, 5.6262, 13.3549)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314366 #665431
analogous
#315E66 #314366 #3A3166
triadic
#314366 #663143 #436631
tetradic
#314366 #66315E #665431 #31663A
square
#314366 #66315E #665431 #31663A
split-complementary
#314366 #663A31 #5E6631
monochromatic
#0A0E15 #1D283D #314366 #455E8F #5F7BB2

Accessibility & contrast

On white

9.88
#314366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#314366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314366
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314366#FFFFFF#000000##FFFFFF
##3143661.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364667
Deuteranopia (green-blind)
#304165
Tritanopia (blue-blind)
#1A4B50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314366;
/* rgb */ color: rgb(49, 67, 102);
/* oklch */ color: oklch(38.4% 0.064 262.9);
Tailwind
colors: {
  custom: {
    50: '#6d7692',
    500: '#314366',
    950: '#000000',
  },
}
SCSS
$custom: #314366;
$custom-light: #6d7692;
$custom-dark: #000000;
JSON
{
  "hex": "#314366",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 102
  },
  "hsl": {
    "h": 219.623,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38435,
    "c": 0.06439,
    "h": 262.9
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#314366
secondary
#97835C
accent
#A65DCB
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#07080D
muted
#7A7B7D

Preview Lab

Preview with #314366

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

Preview Lab → · Contrast checker → · Palette generator →

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