#314CB2#314CB2

#314CB2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.165 H 268.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#314CB2
RGBrgb(49, 76, 178)
HSLhsl(227, 57%, 45%)
HSVhsv(227, 72%, 70%)
CMYKcmyk(72.5%, 57.3%, 0%, 30.2%)
CIE-LABlab(36.05, 25.66, -57.25)
CIE-LCHlch(36.05, 62.74, 294.14°)
OKLaboklab(45.84% -0.0058 -0.165)
OKLCHoklch(45.84% 0.165 268)
XYZxyz(11.8842, 9.0350, 43.2285)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CB2 #B29731
analogous
#318DB2 #314CB2 #5731B2
triadic
#314CB2 #B2314C #4CB231
tetradic
#314CB2 #B2318D #B29731 #31B257
square
#314CB2 #B2318D #B29731 #31B257
split-complementary
#314CB2 #B25731 #8DB231
monochromatic
#172352 #243882 #314CB2 #516BCF #8194DC

Accessibility & contrast

On white

7.48
#314CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#314CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CB2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CB2#FFFFFF#000000##FFFFFF
##314CB21.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314cb2;
/* rgb */ color: rgb(49, 76, 178);
/* oklch */ color: oklch(45.8% 0.165 268.0);
Tailwind
colors: {
  custom: {
    50: '#7b7dca',
    500: '#314cb2',
    950: '#000000',
  },
}
SCSS
$custom: #314cb2;
$custom-light: #7b7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#314cb2",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 227.442,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.16514,
    "h": 268
  },
  "luminance": 0.09036
}

Semantic roles & 50–950 ramp

primary
#314CB2
secondary
#C5B679
accent
#C048E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #314CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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