#314BBC#314BBC

#314BBC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.180 H 268.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#314BBC
RGBrgb(49, 75, 188)
HSLhsl(229, 59%, 46%)
HSVhsv(229, 74%, 74%)
CMYKcmyk(73.9%, 60.1%, 0%, 26.3%)
CIE-LABlab(36.58, 30.01, -62.28)
CIE-LCHlch(36.58, 69.13, 295.73°)
OKLaboklab(46.48% -0.0049 -0.1798)
OKLCHoklch(46.48% 0.18 268.4)
XYZxyz(12.8567, 9.3146, 48.6875)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BBC #BCA231
analogous
#3191BC #314BBC #5D31BC
triadic
#314BBC #BC314B #4BBC31
tetradic
#314BBC #BC3191 #BCA231 #31BC5D
square
#314BBC #BC3191 #BCA231 #31BC5D
split-complementary
#314BBC #BC5D31 #91BC31
monochromatic
#18245B #24388B #314BBC #576ED3 #8898E0

Accessibility & contrast

On white

7.33
#314BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#314BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BBC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BBC#FFFFFF#000000##FFFFFF
##314BBC1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #314bbc;
/* rgb */ color: rgb(49, 75, 188);
/* oklch */ color: oklch(46.5% 0.180 268.4);
Tailwind
colors: {
  custom: {
    50: '#7d7dd1',
    500: '#314bbc',
    950: '#000000',
  },
}
SCSS
$custom: #314bbc;
$custom-light: #7d7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#314bbc",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 228.777,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46482,
    "c": 0.17989,
    "h": 268.4
  },
  "luminance": 0.09316
}

Semantic roles & 50–950 ramp

primary
#314BBC
secondary
#CABC7F
accent
#C546E2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #314BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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