#314C9C#314C9C

#314C9C is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.134 H 266.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#314C9C
RGBrgb(49, 76, 156)
HSLhsl(225, 52%, 40%)
HSVhsv(225, 69%, 61%)
CMYKcmyk(68.6%, 51.3%, 0%, 38.8%)
CIE-LABlab(34.44, 17.44, -46.72)
CIE-LCHlch(34.44, 49.87, 290.48°)
OKLaboklab(44.11% -0.0075 -0.134)
OKLCHoklch(44.11% 0.134 266.8)
XYZxyz(9.8497, 8.2212, 32.5138)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C9C #9C8131
analogous
#31819C #314C9C #4C319C
triadic
#314C9C #9C314C #4C9C31
tetradic
#314C9C #9C3181 #9C8131 #319C4C
square
#314C9C #9C3181 #9C8131 #319C4C
split-complementary
#314C9C #9C4C31 #819C31
monochromatic
#141F3F #22356D #314C9C #4566C5 #748CD3

Accessibility & contrast

On white

7.94
#314C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#314C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C9C
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C9C#FFFFFF#000000##FFFFFF
##314C9C1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #314c9c;
/* rgb */ color: rgb(49, 76, 156);
/* oklch */ color: oklch(44.1% 0.134 266.8);
Tailwind
colors: {
  custom: {
    50: '#767dba',
    500: '#314c9c',
    950: '#000000',
  },
}
SCSS
$custom: #314c9c;
$custom-light: #767dba;
$custom-dark: #000000;
JSON
{
  "hex": "#314c9c",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 156
  },
  "hsl": {
    "h": 224.86,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44111,
    "c": 0.13426,
    "h": 266.8
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#314C9C
secondary
#BBA86D
accent
#B74CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #314C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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