#314596#314596

#314596 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.135 H 269.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#314596
RGBrgb(49, 69, 150)
HSLhsl(228, 51%, 39%)
HSVhsv(228, 67%, 59%)
CMYKcmyk(67.3%, 54%, 0%, 41.2%)
CIE-LABlab(32.06, 19.89, -46.93)
CIE-LCHlch(32.06, 50.97, 292.97°)
OKLaboklab(42.17% -0.0014 -0.1348)
OKLCHoklch(42.17% 0.135 269.4)
XYZxyz(8.8979, 7.1104, 29.7518)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314596 #968231
analogous
#317896 #314596 #503196
triadic
#314596 #963145 #459631
tetradic
#314596 #963178 #968231 #319650
square
#314596 #963178 #968231 #319650
split-complementary
#314596 #965031 #789631
monochromatic
#131B3A #223068 #314596 #435CC1 #7184D1

Accessibility & contrast

On white

8.67
#314596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#314596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314596
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314596#FFFFFF#000000##FFFFFF
##3145961.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5099
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314596;
/* rgb */ color: rgb(49, 69, 150);
/* oklch */ color: oklch(42.2% 0.135 269.4);
Tailwind
colors: {
  custom: {
    50: '#7578b5',
    500: '#314596',
    950: '#000000',
  },
}
SCSS
$custom: #314596;
$custom-light: #7578b5;
$custom-dark: #000000;
JSON
{
  "hex": "#314596",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 150
  },
  "hsl": {
    "h": 228.119,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42172,
    "c": 0.13479,
    "h": 269.4
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#314596
secondary
#B8A96A
accent
#BE4EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314596

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

Preview Lab → · Contrast checker → · Palette generator →

#314596 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva