#314673#314673

#314673 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 39.9% C 0.081 H 264.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#314673
RGBrgb(49, 70, 115)
HSLhsl(221, 40%, 32%)
HSVhsv(221, 57%, 45%)
CMYKcmyk(57.4%, 39.1%, 0%, 54.9%)
CIE-LABlab(30.09, 6.35, -28.41)
CIE-LCHlch(30.09, 29.11, 282.60°)
OKLaboklab(39.94% -0.0082 -0.0804)
OKLCHoklch(39.94% 0.081 264.1)
XYZxyz(6.5502, 6.2706, 17.0815)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314673 #735E31
analogous
#316773 #314673 #3D3173
triadic
#314673 #733146 #467331
tetradic
#314673 #733167 #735E31 #31733D
square
#314673 #733167 #735E31 #31733D
split-complementary
#314673 #733D31 #677331
monochromatic
#0C121D #1F2C48 #314673 #43609E #627FBC

Accessibility & contrast

On white

9.32
#314673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#314673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314673
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314673#FFFFFF#000000##FFFFFF
##3146731.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A75
Deuteranopia (green-blind)
#2C4472
Tritanopia (blue-blind)
#0B5057
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314673;
/* rgb */ color: rgb(49, 70, 115);
/* oklch */ color: oklch(39.9% 0.081 264.1);
Tailwind
colors: {
  custom: {
    50: '#6e799b',
    500: '#314673',
    950: '#000000',
  },
}
SCSS
$custom: #314673;
$custom-light: #6e799b;
$custom-dark: #000000;
JSON
{
  "hex": "#314673",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 115
  },
  "hsl": {
    "h": 220.909,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39936,
    "c": 0.08082,
    "h": 264.1
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#314673
secondary
#A48D5C
accent
#AA58D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314673

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

Preview Lab → · Contrast checker → · Palette generator →

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