#314AA9#314AA9

#314AA9 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.155 H 268.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#314AA9
RGBrgb(49, 74, 169)
HSLhsl(228, 55%, 43%)
HSVhsv(228, 71%, 66%)
CMYKcmyk(71%, 56.2%, 0%, 33.7%)
CIE-LABlab(34.83, 23.63, -53.88)
CIE-LCHlch(34.83, 58.84, 293.68°)
OKLaboklab(44.71% -0.0046 -0.1552)
OKLCHoklch(44.71% 0.155 268.3)
XYZxyz(10.8744, 8.4140, 38.5794)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AA9 #A99031
analogous
#3186A9 #314AA9 #5431A9
triadic
#314AA9 #A9314A #4AA931
tetradic
#314AA9 #A93186 #A99031 #31A954
square
#314AA9 #A93186 #A99031 #31A954
split-complementary
#314AA9 #A95431 #86A931
monochromatic
#15204A #23357A #314AA9 #4C67CB #7C8FD9

Accessibility & contrast

On white

7.83
#314AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#314AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314AA9
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AA9#FFFFFF#000000##FFFFFF
##314AA91.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314aa9;
/* rgb */ color: rgb(49, 74, 169);
/* oklch */ color: oklch(44.7% 0.155 268.3);
Tailwind
colors: {
  custom: {
    50: '#797cc3',
    500: '#314aa9',
    950: '#000000',
  },
}
SCSS
$custom: #314aa9;
$custom-light: #797cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#314aa9",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 169
  },
  "hsl": {
    "h": 227.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44706,
    "c": 0.15525,
    "h": 268.3
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#314AA9
secondary
#C1B174
accent
#BF49DE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314AA9

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

Preview Lab → · Contrast checker → · Palette generator →

#314AA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva