#314592#314592

#314592 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.129 H 269.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#314592
RGBrgb(49, 69, 146)
HSLhsl(228, 50%, 38%)
HSVhsv(228, 66%, 57%)
CMYKcmyk(66.4%, 52.7%, 0%, 42.7%)
CIE-LABlab(31.77, 18.40, -44.95)
CIE-LCHlch(31.77, 48.57, 292.26°)
OKLaboklab(41.86% -0.0018 -0.129)
OKLCHoklch(41.86% 0.129 269.2)
XYZxyz(8.5813, 6.9838, 28.0843)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314592 #927E31
analogous
#317592 #314592 #4D3192
triadic
#314592 #923145 #459231
tetradic
#314592 #923175 #927E31 #31924D
square
#314592 #923175 #927E31 #31924D
split-complementary
#314592 #924D31 #759231
monochromatic
#121A36 #222F64 #314592 #415BBF #6F83CF

Accessibility & contrast

On white

8.76
#314592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#314592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314592
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314592#FFFFFF#000000##FFFFFF
##3145921.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F95
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314592;
/* rgb */ color: rgb(49, 69, 146);
/* oklch */ color: oklch(41.9% 0.129 269.2);
Tailwind
colors: {
  custom: {
    50: '#7478b2',
    500: '#314592',
    950: '#000000',
  },
}
SCSS
$custom: #314592;
$custom-light: #7478b2;
$custom-dark: #000000;
JSON
{
  "hex": "#314592",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 227.629,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41864,
    "c": 0.12897,
    "h": 269.2
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#314592
secondary
#B6A669
accent
#BD4FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314592

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

Preview Lab → · Contrast checker → · Palette generator →

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