#314367#314367

#314367 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.066 H 263.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#314367
RGBrgb(49, 67, 103)
HSLhsl(220, 36%, 30%)
HSVhsv(220, 52%, 40%)
CMYKcmyk(52.4%, 35%, 0%, 59.6%)
CIE-LABlab(28.50, 4.14, -23.29)
CIE-LCHlch(28.50, 23.66, 280.07°)
OKLaboklab(38.49% -0.0076 -0.0655)
OKLCHoklch(38.49% 0.066 263.4)
XYZxyz(5.7212, 5.6462, 13.6177)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314367 #675531
analogous
#315E67 #314367 #3A3167
triadic
#314367 #673143 #436731
tetradic
#314367 #67315E #675531 #31673A
square
#314367 #67315E #675531 #31673A
split-complementary
#314367 #673A31 #5E6731
monochromatic
#0A0D15 #1D283E #314367 #455E90 #5F7BB3

Accessibility & contrast

On white

9.86
#314367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314367
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314367#FFFFFF#000000##FFFFFF
##3143671.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354669
Deuteranopia (green-blind)
#2F4166
Tritanopia (blue-blind)
#194B50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314367;
/* rgb */ color: rgb(49, 67, 103);
/* oklch */ color: oklch(38.5% 0.066 263.4);
Tailwind
colors: {
  custom: {
    50: '#6d7692',
    500: '#314367',
    950: '#000000',
  },
}
SCSS
$custom: #314367;
$custom-light: #6d7692;
$custom-dark: #000000;
JSON
{
  "hex": "#314367",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 103
  },
  "hsl": {
    "h": 220,
    "s": 35.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38493,
    "c": 0.06595,
    "h": 263.4
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#314367
secondary
#98845C
accent
#A65CCC
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #314367

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

Preview Lab → · Contrast checker → · Palette generator →

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