#314BA9#314BA9

#314BA9 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.154 H 268.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#314BA9
RGBrgb(49, 75, 169)
HSLhsl(227, 55%, 43%)
HSVhsv(227, 71%, 66%)
CMYKcmyk(71%, 55.6%, 0%, 33.7%)
CIE-LABlab(35.10, 22.97, -53.45)
CIE-LCHlch(35.10, 58.17, 293.26°)
OKLaboklab(44.91% -0.0055 -0.1539)
OKLCHoklch(44.91% 0.154 268)
XYZxyz(10.9417, 8.5486, 38.6018)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BA9 #A98F31
analogous
#3187A9 #314BA9 #5331A9
triadic
#314BA9 #A9314B #4BA931
tetradic
#314BA9 #A93187 #A98F31 #31A953
square
#314BA9 #A93187 #A98F31 #31A953
split-complementary
#314BA9 #A95331 #87A931
monochromatic
#15214A #23367A #314BA9 #4C68CB #7C90D9

Accessibility & contrast

On white

7.75
#314BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#314BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BA9
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BA9#FFFFFF#000000##FFFFFF
##314BA91.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #314ba9;
/* rgb */ color: rgb(49, 75, 169);
/* oklch */ color: oklch(44.9% 0.154 268.0);
Tailwind
colors: {
  custom: {
    50: '#797cc3',
    500: '#314ba9',
    950: '#000000',
  },
}
SCSS
$custom: #314ba9;
$custom-light: #797cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#314ba9",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 169
  },
  "hsl": {
    "h": 227,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44909,
    "c": 0.15398,
    "h": 268
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#314BA9
secondary
#C1B174
accent
#BE49DE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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