#314382#314382

#314382 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.108 H 269.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#314382
RGBrgb(49, 67, 130)
HSLhsl(227, 45%, 35%)
HSVhsv(227, 62%, 51%)
CMYKcmyk(62.3%, 48.5%, 0%, 49%)
CIE-LABlab(30.10, 13.83, -37.77)
CIE-LCHlch(30.10, 40.22, 290.11°)
OKLaboklab(40.25% -0.0016 -0.1079)
OKLCHoklch(40.25% 0.108 269.1)
XYZxyz(7.3017, 6.2784, 21.9418)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314382 #827031
analogous
#316B82 #314382 #483182
triadic
#314382 #823143 #438231
tetradic
#314382 #82316B #827031 #318248
square
#314382 #82316B #827031 #318248
split-complementary
#314382 #824831 #6B8231
monochromatic
#0F1529 #202C56 #314382 #425AAE #687CC6

Accessibility & contrast

On white

9.31
#314382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#314382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314382
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314382#FFFFFF#000000##FFFFFF
##3143821.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B84
Deuteranopia (green-blind)
#174381
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314382;
/* rgb */ color: rgb(49, 67, 130);
/* oklch */ color: oklch(40.2% 0.108 269.1);
Tailwind
colors: {
  custom: {
    50: '#7176a7',
    500: '#314382',
    950: '#000000',
  },
}
SCSS
$custom: #314382;
$custom-light: #7176a7;
$custom-dark: #000000;
JSON
{
  "hex": "#314382",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 130
  },
  "hsl": {
    "h": 226.667,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40248,
    "c": 0.10787,
    "h": 269.1
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#314382
secondary
#AD9C62
accent
#B853D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #314382

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

Preview Lab → · Contrast checker → · Palette generator →

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