#314594#314594

#314594 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.132 H 269.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#314594
RGBrgb(49, 69, 148)
HSLhsl(228, 50%, 39%)
HSVhsv(228, 67%, 58%)
CMYKcmyk(66.9%, 53.4%, 0%, 42%)
CIE-LABlab(31.91, 19.15, -45.94)
CIE-LCHlch(31.91, 49.77, 292.62°)
OKLaboklab(42.02% -0.0016 -0.1319)
OKLCHoklch(42.02% 0.132 269.3)
XYZxyz(8.7382, 7.0465, 28.9108)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314594 #948031
analogous
#317694 #314594 #4E3194
triadic
#314594 #943145 #459431
tetradic
#314594 #943176 #948031 #31944E
square
#314594 #943176 #948031 #31944E
split-complementary
#314594 #944E31 #769431
monochromatic
#131A38 #223066 #314594 #425BC0 #7083D0

Accessibility & contrast

On white

8.72
#314594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#314594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314594
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314594#FFFFFF#000000##FFFFFF
##3145941.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135097
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314594;
/* rgb */ color: rgb(49, 69, 148);
/* oklch */ color: oklch(42.0% 0.132 269.3);
Tailwind
colors: {
  custom: {
    50: '#7578b4',
    500: '#314594',
    950: '#000000',
  },
}
SCSS
$custom: #314594;
$custom-light: #7578b4;
$custom-dark: #000000;
JSON
{
  "hex": "#314594",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 227.879,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42017,
    "c": 0.13189,
    "h": 269.3
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#314594
secondary
#B7A869
accent
#BE4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314594

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

Preview Lab → · Contrast checker → · Palette generator →

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