#314C9F#314C9F

#314C9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.139 H 267.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#314C9F
RGBrgb(49, 76, 159)
HSLhsl(225, 53%, 41%)
HSVhsv(225, 69%, 62%)
CMYKcmyk(69.2%, 52.2%, 0%, 37.6%)
CIE-LABlab(34.65, 18.57, -48.19)
CIE-LCHlch(34.65, 51.64, 291.07°)
OKLaboklab(44.34% -0.0072 -0.1384)
OKLCHoklch(44.34% 0.139 267)
XYZxyz(10.1069, 8.3241, 33.8682)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C9F #9F8431
analogous
#31839F #314C9F #4D319F
triadic
#314C9F #9F314C #4C9F31
tetradic
#314C9F #9F3183 #9F8431 #319F4D
square
#314C9F #9F3183 #9F8431 #319F4D
split-complementary
#314C9F #9F4D31 #839F31
monochromatic
#141F41 #233670 #314C9F #4766C6 #768DD5

Accessibility & contrast

On white

7.88
#314C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#314C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C9F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C9F#FFFFFF#000000##FFFFFF
##314C9F1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #314c9f;
/* rgb */ color: rgb(49, 76, 159);
/* oklch */ color: oklch(44.3% 0.139 267.0);
Tailwind
colors: {
  custom: {
    50: '#767dbc',
    500: '#314c9f',
    950: '#000000',
  },
}
SCSS
$custom: #314c9f;
$custom-light: #767dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#314c9f",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 159
  },
  "hsl": {
    "h": 225.273,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44337,
    "c": 0.13857,
    "h": 267
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#314C9F
secondary
#BDAA6F
accent
#B94CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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