#314FBC#314FBC

#314FBC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.175 H 267.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#314FBC
RGBrgb(49, 79, 188)
HSLhsl(227, 59%, 46%)
HSVhsv(227, 74%, 74%)
CMYKcmyk(73.9%, 58%, 0%, 26.3%)
CIE-LABlab(37.62, 27.41, -60.59)
CIE-LCHlch(37.62, 66.51, 294.34°)
OKLaboklab(47.25% -0.0078 -0.1748)
OKLCHoklch(47.25% 0.175 267.5)
XYZxyz(13.1365, 9.8744, 48.7808)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FBC #BC9E31
analogous
#3195BC #314FBC #5831BC
triadic
#314FBC #BC314F #4FBC31
tetradic
#314FBC #BC3195 #BC9E31 #31BC58
square
#314FBC #BC3195 #BC9E31 #31BC58
split-complementary
#314FBC #BC5831 #95BC31
monochromatic
#18265B #243B8B #314FBC #5772D3 #889BE0

Accessibility & contrast

On white

7.06
#314FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314FBC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FBC#FFFFFF#000000##FFFFFF
##314FBC1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #314fbc;
/* rgb */ color: rgb(49, 79, 188);
/* oklch */ color: oklch(47.3% 0.175 267.5);
Tailwind
colors: {
  custom: {
    50: '#7d80d1',
    500: '#314fbc',
    950: '#000000',
  },
}
SCSS
$custom: #314fbc;
$custom-light: #7d80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#314fbc",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 227.05,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47253,
    "c": 0.175,
    "h": 267.5
  },
  "luminance": 0.09876
}

Semantic roles & 50–950 ramp

primary
#314FBC
secondary
#CABA7F
accent
#C046E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #314FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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