#314DB9#314DB9

#314DB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.173 H 267.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#314DB9
RGBrgb(49, 77, 185)
HSLhsl(228, 58%, 46%)
HSVhsv(228, 74%, 73%)
CMYKcmyk(73.5%, 58.4%, 0%, 27.5%)
CIE-LABlab(36.86, 27.60, -60.06)
CIE-LCHlch(36.86, 66.10, 294.68°)
OKLaboklab(46.61% -0.0064 -0.1733)
OKLCHoklch(46.61% 0.173 267.9)
XYZxyz(12.6744, 9.4622, 47.0479)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DB9 #B99D31
analogous
#3191B9 #314DB9 #5931B9
triadic
#314DB9 #B9314D #4DB931
tetradic
#314DB9 #B93191 #B99D31 #31B959
square
#314DB9 #B93191 #B99D31 #31B959
split-complementary
#314DB9 #B95931 #91B931
monochromatic
#172558 #243989 #314DB9 #556FD2 #8698DF

Accessibility & contrast

On white

7.26
#314DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#314DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314DB9
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DB9#FFFFFF#000000##FFFFFF
##314DB91.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #314db9;
/* rgb */ color: rgb(49, 77, 185);
/* oklch */ color: oklch(46.6% 0.173 267.9);
Tailwind
colors: {
  custom: {
    50: '#7c7ecf',
    500: '#314db9',
    950: '#000000',
  },
}
SCSS
$custom: #314db9;
$custom-light: #7c7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#314db9",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 227.647,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46614,
    "c": 0.17342,
    "h": 267.9
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#314DB9
secondary
#C8B97D
accent
#C146E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #314DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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