#314BC9#314BC9

#314BC9 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.197 H 268.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#314BC9
RGBrgb(49, 75, 201)
HSLhsl(230, 61%, 49%)
HSVhsv(230, 76%, 79%)
CMYKcmyk(75.6%, 62.7%, 0%, 21.2%)
CIE-LABlab(37.66, 34.76, -68.10)
CIE-LCHlch(37.66, 76.46, 297.04°)
OKLaboklab(47.62% -0.005 -0.1969)
OKLCHoklch(47.62% 0.197 268.5)
XYZxyz(14.3217, 9.9006, 56.4032)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BC9 #C9AF31
analogous
#3197C9 #314BC9 #6331C9
triadic
#314BC9 #C9314B #4BC931
tetradic
#314BC9 #C93197 #C9AF31 #31C963
square
#314BC9 #C93197 #C9AF31 #31C963
split-complementary
#314BC9 #C96331 #97C931
monochromatic
#192667 #253998 #314BC9 #5F74D8 #909FE4

Accessibility & contrast

On white

7.05
#314BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#314BC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BC9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BC9#FFFFFF#000000##FFFFFF
##314BC91.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #314bc9;
/* rgb */ color: rgb(49, 75, 201);
/* oklch */ color: oklch(47.6% 0.197 268.5);
Tailwind
colors: {
  custom: {
    50: '#807dda',
    500: '#314bc9',
    950: '#000000',
  },
}
SCSS
$custom: #314bc9;
$custom-light: #807dda;
$custom-dark: #000000;
JSON
{
  "hex": "#314bc9",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 229.737,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47617,
    "c": 0.19696,
    "h": 268.5
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#314BC9
secondary
#CFC287
accent
#C944E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #314BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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