#314779#314779

#314779 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.089 H 264.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#314779
RGBrgb(49, 71, 121)
HSLhsl(222, 42%, 33%)
HSVhsv(222, 60%, 47%)
CMYKcmyk(59.5%, 41.3%, 0%, 52.5%)
CIE-LABlab(30.73, 7.84, -31.15)
CIE-LCHlch(30.73, 32.12, 284.13°)
OKLaboklab(40.55% -0.008 -0.0884)
OKLCHoklch(40.55% 0.089 264.8)
XYZxyz(6.9699, 6.5394, 18.9804)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314779 #796331
analogous
#316B79 #314779 #3F3179
triadic
#314779 #793147 #477931
tetradic
#314779 #79316B #796331 #31793F
square
#314779 #79316B #796331 #31793F
split-complementary
#314779 #793F31 #6B7931
monochromatic
#0E1422 #1F2D4D #314779 #4361A5 #6480C0

Accessibility & contrast

On white

9.10
#314779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#314779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314779
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314779#FFFFFF#000000##FFFFFF
##3147791.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7B
Deuteranopia (green-blind)
#294578
Tritanopia (blue-blind)
#00525A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314779;
/* rgb */ color: rgb(49, 71, 121);
/* oklch */ color: oklch(40.6% 0.089 264.8);
Tailwind
colors: {
  custom: {
    50: '#6f79a0',
    500: '#314779',
    950: '#000000',
  },
}
SCSS
$custom: #314779;
$custom-light: #6f79a0;
$custom-dark: #000000;
JSON
{
  "hex": "#314779",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 121
  },
  "hsl": {
    "h": 221.667,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40551,
    "c": 0.08875,
    "h": 264.8
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#314779
secondary
#A8915E
accent
#AC56D2
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314779

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

Preview Lab → · Contrast checker → · Palette generator →

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