#314679#314679

#314679 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.090 H 265.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#314679
RGBrgb(49, 70, 121)
HSLhsl(223, 42%, 33%)
HSVhsv(223, 60%, 47%)
CMYKcmyk(59.5%, 42.1%, 0%, 52.5%)
CIE-LABlab(30.43, 8.51, -31.63)
CIE-LCHlch(30.43, 32.75, 285.06°)
OKLaboklab(40.32% -0.0068 -0.0898)
OKLCHoklch(40.32% 0.09 265.7)
XYZxyz(6.9068, 6.4132, 18.9594)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314679 #796431
analogous
#316A79 #314679 #403179
triadic
#314679 #793146 #467931
tetradic
#314679 #79316A #796431 #317940
square
#314679 #79316A #796431 #317940
split-complementary
#314679 #794031 #6A7931
monochromatic
#0E1422 #1F2D4D #314679 #435FA5 #647FC0

Accessibility & contrast

On white

9.20
#314679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#314679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314679
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314679#FFFFFF#000000##FFFFFF
##3146791.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7B
Deuteranopia (green-blind)
#274578
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314679;
/* rgb */ color: rgb(49, 70, 121);
/* oklch */ color: oklch(40.3% 0.090 265.7);
Tailwind
colors: {
  custom: {
    50: '#6f79a0',
    500: '#314679',
    950: '#000000',
  },
}
SCSS
$custom: #314679;
$custom-light: #6f79a0;
$custom-dark: #000000;
JSON
{
  "hex": "#314679",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 121
  },
  "hsl": {
    "h": 222.5,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40317,
    "c": 0.09007,
    "h": 265.7
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#314679
secondary
#A8925E
accent
#AE56D2
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314679

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

Preview Lab → · Contrast checker → · Palette generator →

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