#314FB3#314FB3

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

Color values

HEX#314FB3
RGBrgb(49, 79, 179)
HSLhsl(226, 57%, 45%)
HSVhsv(226, 73%, 70%)
CMYKcmyk(72.6%, 55.9%, 0%, 29.8%)
CIE-LABlab(36.93, 24.06, -56.42)
CIE-LCHlch(36.93, 61.34, 293.10°)
OKLaboklab(46.52% -0.0082 -0.1626)
OKLCHoklch(46.52% 0.163 267.1)
XYZxyz(12.1965, 9.4983, 43.8297)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FB3 #B39531
analogous
#3190B3 #314FB3 #5431B3
triadic
#314FB3 #B3314F #4FB331
tetradic
#314FB3 #B33190 #B39531 #31B354
square
#314FB3 #B33190 #B39531 #31B354
split-complementary
#314FB3 #B35431 #90B331
monochromatic
#172553 #243A83 #314FB3 #526FD0 #8297DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314FB3#FFFFFF#000000##FFFFFF
##314FB31.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)
#005DB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #314fb3;
/* rgb */ color: rgb(49, 79, 179);
/* oklch */ color: oklch(46.5% 0.163 267.1);
Tailwind
colors: {
  custom: {
    50: '#7b7fca',
    500: '#314fb3',
    950: '#000000',
  },
}
SCSS
$custom: #314fb3;
$custom-light: #7b7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#314fb3",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 226.154,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46519,
    "c": 0.16276,
    "h": 267.1
  },
  "luminance": 0.095
}

Semantic roles & 50–950 ramp

primary
#314FB3
secondary
#C6B47A
accent
#BD48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #314FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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