#314BAF#314BAF

#314BAF is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.162 H 268.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#314BAF
RGBrgb(49, 75, 175)
HSLhsl(228, 56%, 44%)
HSVhsv(228, 72%, 69%)
CMYKcmyk(72%, 57.1%, 0%, 31.4%)
CIE-LABlab(35.56, 25.21, -56.28)
CIE-LCHlch(35.56, 61.67, 294.13°)
OKLaboklab(45.39% -0.0052 -0.1622)
OKLCHoklch(45.39% 0.162 268.2)
XYZxyz(11.5179, 8.7791, 41.6367)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BAF #AF9531
analogous
#318AAF #314BAF #5631AF
triadic
#314BAF #AF314B #4BAF31
tetradic
#314BAF #AF318A #AF9531 #31AF56
square
#314BAF #AF318A #AF9531 #31AF56
split-complementary
#314BAF #AF5631 #8AAF31
monochromatic
#16224F #24377F #314BAF #4F69CE #7F92DB

Accessibility & contrast

On white

7.62
#314BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#314BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BAF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BAF#FFFFFF#000000##FFFFFF
##314BAF1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314baf;
/* rgb */ color: rgb(49, 75, 175);
/* oklch */ color: oklch(45.4% 0.162 268.2);
Tailwind
colors: {
  custom: {
    50: '#7a7cc8',
    500: '#314baf',
    950: '#000000',
  },
}
SCSS
$custom: #314baf;
$custom-light: #7a7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#314baf",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 227.619,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45394,
    "c": 0.16228,
    "h": 268.2
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#314BAF
secondary
#C4B478
accent
#C048E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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