#314DBA#314DBA

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

Color values

HEX#314DBA
RGBrgb(49, 77, 186)
HSLhsl(228, 58%, 46%)
HSVhsv(228, 74%, 73%)
CMYKcmyk(73.7%, 58.6%, 0%, 27.1%)
CIE-LABlab(36.94, 27.98, -60.52)
CIE-LCHlch(36.94, 66.68, 294.81°)
OKLaboklab(46.7% -0.0063 -0.1746)
OKLCHoklch(46.7% 0.175 267.9)
XYZxyz(12.7804, 9.5045, 47.6059)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DBA #BA9E31
analogous
#3191BA #314DBA #5931BA
triadic
#314DBA #BA314D #4DBA31
tetradic
#314DBA #BA3191 #BA9E31 #31BA59
square
#314DBA #BA3191 #BA9E31 #31BA59
split-complementary
#314DBA #BA5931 #91BA31
monochromatic
#172559 #24398A #314DBA #566FD2 #8698DF

Accessibility & contrast

On white

7.24
#314DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#314DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314DBA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DBA#FFFFFF#000000##FFFFFF
##314DBA1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #314dba;
/* rgb */ color: rgb(49, 77, 186);
/* oklch */ color: oklch(46.7% 0.175 267.9);
Tailwind
colors: {
  custom: {
    50: '#7c7ed0',
    500: '#314dba',
    950: '#000000',
  },
}
SCSS
$custom: #314dba;
$custom-light: #7c7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#314dba",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 227.737,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46697,
    "c": 0.17477,
    "h": 267.9
  },
  "luminance": 0.09506
}

Semantic roles & 50–950 ramp

primary
#314DBA
secondary
#C9B97E
accent
#C246E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #314DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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