#314DAF#314DAF

#314DAF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.160 H 267.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#314DAF
RGBrgb(49, 77, 175)
HSLhsl(227, 56%, 44%)
HSVhsv(227, 72%, 69%)
CMYKcmyk(72%, 56%, 0%, 31.4%)
CIE-LABlab(36.09, 23.89, -55.41)
CIE-LCHlch(36.09, 60.34, 293.32°)
OKLaboklab(45.8% -0.0068 -0.1596)
OKLCHoklch(45.8% 0.16 267.6)
XYZxyz(11.6557, 9.0547, 41.6826)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DAF #AF9331
analogous
#318CAF #314DAF #5431AF
triadic
#314DAF #AF314D #4DAF31
tetradic
#314DAF #AF318C #AF9331 #31AF54
square
#314DAF #AF318C #AF9331 #31AF54
split-complementary
#314DAF #AF5431 #8CAF31
monochromatic
#16234F #24387F #314DAF #4F6BCE #7F94DB

Accessibility & contrast

On white

7.47
#314DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314DAF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DAF#FFFFFF#000000##FFFFFF
##314DAF1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314daf;
/* rgb */ color: rgb(49, 77, 175);
/* oklch */ color: oklch(45.8% 0.160 267.6);
Tailwind
colors: {
  custom: {
    50: '#7a7ec8',
    500: '#314daf',
    950: '#000000',
  },
}
SCSS
$custom: #314daf;
$custom-light: #7a7ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#314daf",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 226.667,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45795,
    "c": 0.15976,
    "h": 267.6
  },
  "luminance": 0.09056
}

Semantic roles & 50–950 ramp

primary
#314DAF
secondary
#C4B378
accent
#BE48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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