#314A9F#314A9F

#314A9F is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.141 H 267.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#314A9F
RGBrgb(49, 74, 159)
HSLhsl(226, 53%, 41%)
HSVhsv(226, 69%, 62%)
CMYKcmyk(69.2%, 53.5%, 0%, 37.6%)
CIE-LABlab(34.09, 19.90, -49.08)
CIE-LCHlch(34.09, 52.96, 292.07°)
OKLaboklab(43.92% -0.0053 -0.141)
OKLCHoklch(43.92% 0.141 267.8)
XYZxyz(9.9713, 8.0528, 33.8230)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A9F #9F8631
analogous
#31819F #314A9F #4F319F
triadic
#314A9F #9F314A #4A9F31
tetradic
#314A9F #9F3181 #9F8631 #319F4F
square
#314A9F #9F3181 #9F8631 #319F4F
split-complementary
#314A9F #9F4F31 #819F31
monochromatic
#141E41 #233470 #314A9F #4764C6 #768BD5

Accessibility & contrast

On white

8.04
#314A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#314A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A9F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A9F#FFFFFF#000000##FFFFFF
##314A9F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1155A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314a9f;
/* rgb */ color: rgb(49, 74, 159);
/* oklch */ color: oklch(43.9% 0.141 267.8);
Tailwind
colors: {
  custom: {
    50: '#777cbc',
    500: '#314a9f',
    950: '#000000',
  },
}
SCSS
$custom: #314a9f;
$custom-light: #777cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#314a9f",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 226.364,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43916,
    "c": 0.14115,
    "h": 267.8
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#314A9F
secondary
#BDAB6F
accent
#BB4CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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