#314CAB#314CAB

#314CAB is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.155 H 267.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#314CAB
RGBrgb(49, 76, 171)
HSLhsl(227, 55%, 43%)
HSVhsv(227, 71%, 67%)
CMYKcmyk(71.3%, 55.6%, 0%, 32.9%)
CIE-LABlab(35.52, 23.06, -53.96)
CIE-LCHlch(35.52, 58.68, 293.14°)
OKLaboklab(45.27% -0.0062 -0.1554)
OKLCHoklch(45.27% 0.155 267.7)
XYZxyz(11.1992, 8.7610, 39.6210)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CAB #AB9031
analogous
#3189AB #314CAB #5331AB
triadic
#314CAB #AB314C #4CAB31
tetradic
#314CAB #AB3189 #AB9031 #31AB53
square
#314CAB #AB3189 #AB9031 #31AB53
split-complementary
#314CAB #AB5331 #89AB31
monochromatic
#16224C #23377B #314CAB #4D69CC #7D91DA

Accessibility & contrast

On white

7.63
#314CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#314CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CAB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CAB#FFFFFF#000000##FFFFFF
##314CAB1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314cab;
/* rgb */ color: rgb(49, 76, 171);
/* oklch */ color: oklch(45.3% 0.155 267.7);
Tailwind
colors: {
  custom: {
    50: '#797dc5',
    500: '#314cab',
    950: '#000000',
  },
}
SCSS
$custom: #314cab;
$custom-light: #797dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#314cab",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 171
  },
  "hsl": {
    "h": 226.721,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.15548,
    "h": 267.7
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#314CAB
secondary
#C2B175
accent
#BE49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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