#314BA8#314BA8

#314BA8 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.153 H 267.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#314BA8
RGBrgb(49, 75, 168)
HSLhsl(227, 55%, 43%)
HSVhsv(227, 71%, 66%)
CMYKcmyk(70.8%, 55.4%, 0%, 34.1%)
CIE-LABlab(35.03, 22.60, -52.97)
CIE-LCHlch(35.03, 57.59, 293.10°)
OKLaboklab(44.83% -0.0055 -0.1525)
OKLCHoklch(44.83% 0.153 267.9)
XYZxyz(10.8481, 8.5112, 38.1093)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BA8 #A88E31
analogous
#3186A8 #314BA8 #5331A8
triadic
#314BA8 #A8314B #4BA831
tetradic
#314BA8 #A83186 #A88E31 #31A853
square
#314BA8 #A83186 #A88E31 #31A853
split-complementary
#314BA8 #A85331 #86A831
monochromatic
#152149 #233679 #314BA8 #4C67CB #7B8FD8

Accessibility & contrast

On white

7.77
#314BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#314BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BA8
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BA8#FFFFFF#000000##FFFFFF
##314BA81.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314ba8;
/* rgb */ color: rgb(49, 75, 168);
/* oklch */ color: oklch(44.8% 0.153 267.9);
Tailwind
colors: {
  custom: {
    50: '#787cc3',
    500: '#314ba8',
    950: '#000000',
  },
}
SCSS
$custom: #314ba8;
$custom-light: #787cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#314ba8",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 168
  },
  "hsl": {
    "h": 226.891,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44829,
    "c": 0.15258,
    "h": 267.9
  },
  "luminance": 0.08512
}

Semantic roles & 50–950 ramp

primary
#314BA8
secondary
#C1B074
accent
#BE4ADE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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