#314BCC#314BCC

#314BCC is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 47.9% C 0.201 H 268.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#314BCC
RGBrgb(49, 75, 204)
HSLhsl(230, 61%, 50%)
HSVhsv(230, 76%, 80%)
CMYKcmyk(76%, 63.2%, 0%, 20%)
CIE-LABlab(37.92, 35.84, -69.42)
CIE-LCHlch(37.92, 78.13, 297.31°)
OKLaboklab(47.89% -0.0051 -0.2008)
OKLCHoklch(47.89% 0.201 268.5)
XYZxyz(14.6780, 10.0431, 58.2800)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BCC #CCB231
analogous
#3199CC #314BCC #6431CC
triadic
#314BCC #CC314B #4BCC31
tetradic
#314BCC #CC3199 #CCB231 #31CC64
square
#314BCC #CC3199 #CCB231 #31CC64
split-complementary
#314BCC #CC6431 #99CC31
monochromatic
#192769 #25399B #314BCC #6175D9 #92A0E5

Accessibility & contrast

On white

6.98
#314BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#314BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314BCC
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BCC#FFFFFF#000000##FFFFFF
##314BCC1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #314bcc;
/* rgb */ color: rgb(49, 75, 204);
/* oklch */ color: oklch(47.9% 0.201 268.5);
Tailwind
colors: {
  custom: {
    50: '#817ddd',
    500: '#314bcc',
    950: '#000000',
  },
}
SCSS
$custom: #314bcc;
$custom-light: #817ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#314bcc",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 229.935,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.20084,
    "h": 268.5
  },
  "luminance": 0.10045
}

Semantic roles & 50–950 ramp

primary
#314BCC
secondary
#D0C489
accent
#C943E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #314BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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