#314EAF#314EAF

#314EAF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.159 H 267.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#314EAF
RGBrgb(49, 78, 175)
HSLhsl(226, 56%, 44%)
HSVhsv(226, 72%, 69%)
CMYKcmyk(72%, 55.4%, 0%, 31.4%)
CIE-LABlab(36.36, 23.23, -54.97)
CIE-LCHlch(36.36, 59.68, 292.90°)
OKLaboklab(46% -0.0076 -0.1583)
OKLCHoklch(46% 0.159 267.3)
XYZxyz(11.7262, 9.1957, 41.7061)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314EAF #AF9231
analogous
#318DAF #314EAF #5331AF
triadic
#314EAF #AF314E #4EAF31
tetradic
#314EAF #AF318D #AF9231 #31AF53
square
#314EAF #AF318D #AF9231 #31AF53
split-complementary
#314EAF #AF5331 #8DAF31
monochromatic
#16234F #24397F #314EAF #4F6CCE #7F94DB

Accessibility & contrast

On white

7.40
#314EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314EAF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314EAF#FFFFFF#000000##FFFFFF
##314EAF1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #314eaf;
/* rgb */ color: rgb(49, 78, 175);
/* oklch */ color: oklch(46.0% 0.159 267.3);
Tailwind
colors: {
  custom: {
    50: '#7a7fc8',
    500: '#314eaf',
    950: '#000000',
  },
}
SCSS
$custom: #314eaf;
$custom-light: #7a7fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#314eaf",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 226.19,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.1585,
    "h": 267.3
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

primary
#314EAF
secondary
#C4B378
accent
#BD48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #314EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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