#314DB3#314DB3

#314DB3 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.165 H 267.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#314DB3
RGBrgb(49, 77, 179)
HSLhsl(227, 57%, 45%)
HSVhsv(227, 73%, 70%)
CMYKcmyk(72.6%, 57%, 0%, 29.8%)
CIE-LABlab(36.39, 25.38, -57.29)
CIE-LCHlch(36.39, 62.66, 293.89°)
OKLaboklab(46.12% -0.0066 -0.1651)
OKLCHoklch(46.12% 0.165 267.7)
XYZxyz(12.0544, 9.2141, 43.7823)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DB3 #B39731
analogous
#318EB3 #314DB3 #5631B3
triadic
#314DB3 #B3314D #4DB331
tetradic
#314DB3 #B3318E #B39731 #31B356
square
#314DB3 #B3318E #B39731 #31B356
split-complementary
#314DB3 #B35631 #8EB331
monochromatic
#172453 #243883 #314DB3 #526DD0 #8295DD

Accessibility & contrast

On white

7.39
#314DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#314DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314DB3
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DB3#FFFFFF#000000##FFFFFF
##314DB31.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #314db3;
/* rgb */ color: rgb(49, 77, 179);
/* oklch */ color: oklch(46.1% 0.165 267.7);
Tailwind
colors: {
  custom: {
    50: '#7b7eca',
    500: '#314db3',
    950: '#000000',
  },
}
SCSS
$custom: #314db3;
$custom-light: #7b7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#314db3",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 227.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46119,
    "c": 0.16526,
    "h": 267.7
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#314DB3
secondary
#C6B67A
accent
#BF48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #314DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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