#314584#314584

#314584 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.108 H 268.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#314584
RGBrgb(49, 69, 132)
HSLhsl(226, 46%, 35%)
HSVhsv(226, 63%, 52%)
CMYKcmyk(62.9%, 47.7%, 0%, 48.2%)
CIE-LABlab(30.82, 13.21, -37.86)
CIE-LCHlch(30.82, 40.10, 289.23°)
OKLaboklab(40.84% -0.0036 -0.1081)
OKLCHoklch(40.84% 0.108 268.1)
XYZxyz(7.5582, 6.5745, 22.6960)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314584 #847031
analogous
#316E84 #314584 #463184
triadic
#314584 #843145 #458431
tetradic
#314584 #84316E #847031 #318446
square
#314584 #84316E #847031 #318446
split-complementary
#314584 #844631 #6E8431
monochromatic
#10162B #202E57 #314584 #425CB1 #687FC7

Accessibility & contrast

On white

9.07
#314584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#314584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314584
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314584#FFFFFF#000000##FFFFFF
##3145841.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C86
Deuteranopia (green-blind)
#194583
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314584;
/* rgb */ color: rgb(49, 69, 132);
/* oklch */ color: oklch(40.8% 0.108 268.1);
Tailwind
colors: {
  custom: {
    50: '#7178a8',
    500: '#314584',
    950: '#000000',
  },
}
SCSS
$custom: #314584;
$custom-light: #7178a8;
$custom-dark: #000000;
JSON
{
  "hex": "#314584",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 225.542,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40835,
    "c": 0.10818,
    "h": 268.1
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#314584
secondary
#AE9C62
accent
#B652D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314584

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

Preview Lab → · Contrast checker → · Palette generator →

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