#314599#314599

#314599 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.139 H 269.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#314599
RGBrgb(49, 69, 153)
HSLhsl(228, 51%, 40%)
HSVhsv(228, 68%, 60%)
CMYKcmyk(68%, 54.9%, 0%, 40%)
CIE-LABlab(32.28, 21.01, -48.39)
CIE-LCHlch(32.28, 52.76, 293.46°)
OKLaboklab(42.41% -0.0012 -0.1391)
OKLCHoklch(42.41% 0.139 269.5)
XYZxyz(9.1426, 7.2083, 31.0403)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314599 #998531
analogous
#317999 #314599 #513199
triadic
#314599 #993145 #459931
tetradic
#314599 #993179 #998531 #319951
square
#314599 #993179 #998531 #319951
split-complementary
#314599 #995131 #799931
monochromatic
#131B3C #22306B #314599 #445DC3 #7285D2

Accessibility & contrast

On white

8.60
#314599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#314599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314599
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314599#FFFFFF#000000##FFFFFF
##3145991.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07519C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314599;
/* rgb */ color: rgb(49, 69, 153);
/* oklch */ color: oklch(42.4% 0.139 269.5);
Tailwind
colors: {
  custom: {
    50: '#7678b8',
    500: '#314599',
    950: '#000000',
  },
}
SCSS
$custom: #314599;
$custom-light: #7678b8;
$custom-dark: #000000;
JSON
{
  "hex": "#314599",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 153
  },
  "hsl": {
    "h": 228.462,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42407,
    "c": 0.13911,
    "h": 269.5
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#314599
secondary
#BAAB6C
accent
#C04DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314599

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

Preview Lab → · Contrast checker → · Palette generator →

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