#314FBB#314FBB

#314FBB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.174 H 267.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#314FBB
RGBrgb(49, 79, 187)
HSLhsl(227, 58%, 46%)
HSVhsv(227, 74%, 73%)
CMYKcmyk(73.8%, 57.8%, 0%, 26.7%)
CIE-LABlab(37.54, 27.04, -60.13)
CIE-LCHlch(37.54, 65.93, 294.21°)
OKLaboklab(47.17% -0.0078 -0.1735)
OKLCHoklch(47.17% 0.174 267.4)
XYZxyz(13.0291, 9.8314, 48.2151)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FBB #BB9D31
analogous
#3194BB #314FBB #5831BB
triadic
#314FBB #BB314F #4FBB31
tetradic
#314FBB #BB3194 #BB9D31 #31BB58
square
#314FBB #BB3194 #BB9D31 #31BB58
split-complementary
#314FBB #BB5831 #94BB31
monochromatic
#18265A #243B8B #314FBB #5671D3 #879AE0

Accessibility & contrast

On white

7.08
#314FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#314FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314FBB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FBB#FFFFFF#000000##FFFFFF
##314FBB1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #314fbb;
/* rgb */ color: rgb(49, 79, 187);
/* oklch */ color: oklch(47.2% 0.174 267.4);
Tailwind
colors: {
  custom: {
    50: '#7c7fd0',
    500: '#314fbb',
    950: '#000000',
  },
}
SCSS
$custom: #314fbb;
$custom-light: #7c7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#314fbb",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 226.957,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4717,
    "c": 0.17365,
    "h": 267.4
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#314FBB
secondary
#C9B97F
accent
#C046E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #314FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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