#313453#313453

#313453 is a dark, muted blue. Relative luminance 0.037; OKLCH L 33.7% C 0.055 H 278.8°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#313453
RGBrgb(49, 52, 83)
HSLhsl(235, 26%, 26%)
HSVhsv(235, 41%, 33%)
CMYKcmyk(41%, 37.3%, 0%, 67.5%)
CIE-LABlab(22.77, 7.61, -19.26)
CIE-LCHlch(22.77, 20.71, 291.56°)
OKLaboklab(33.71% 0.0084 -0.0539)
OKLCHoklch(33.71% 0.055 278.8)
XYZxyz(4.0555, 3.7333, 8.6889)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313453 #535031
analogous
#314553 #313453 #3F3153
triadic
#313453 #533134 #345331
tetradic
#313453 #533145 #535031 #31533F
square
#313453 #533145 #535031 #31533F
split-complementary
#313453 #533F31 #455331
monochromatic
#0B0C13 #1A1C2D #313453 #484C79 #5E64A0

Accessibility & contrast

On white

12.02
#313453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#313453 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313453
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313453#FFFFFF#000000##FFFFFF
##3134531.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3854
Deuteranopia (green-blind)
#283552
Tritanopia (blue-blind)
#273A3F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #313453;
/* rgb */ color: rgb(49, 52, 83);
/* oklch */ color: oklch(33.7% 0.055 278.8);
Tailwind
colors: {
  custom: {
    50: '#6a6b83',
    500: '#313453',
    950: '#000000',
  },
}
SCSS
$custom: #313453;
$custom-light: #6a6b83;
$custom-dark: #000000;
JSON
{
  "hex": "#313453",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 83
  },
  "hsl": {
    "h": 234.706,
    "s": 25.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33706,
    "c": 0.05453,
    "h": 278.8
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#313453
secondary
#84815C
accent
#BA66C2
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #313453

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

Preview Lab → · Contrast checker → · Palette generator →

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