#31567B#31567B

#31567B is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.3% C 0.075 H 249.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#31567B
RGBrgb(49, 86, 123)
HSLhsl(210, 43%, 34%)
HSVhsv(210, 60%, 48%)
CMYKcmyk(60.2%, 30.1%, 0%, 51.8%)
CIE-LABlab(35.47, -1.23, -24.92)
CIE-LCHlch(35.47, 24.95, 267.19°)
OKLaboklab(44.28% -0.0257 -0.0701)
OKLCHoklch(44.28% 0.075 249.8)
XYZxyz(8.1683, 8.7379, 19.9912)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31567B #7B5631
analogous
#317B7B #31567B #31317B
triadic
#31567B #7B3156 #567B31
tetradic
#31567B #7B317B #7B5631 #317B31
square
#31567B #7B317B #7B5631 #317B31
split-complementary
#31567B #7B3131 #7B7B31
monochromatic
#0E1923 #20374F #31567B #4275A7 #6593C2

Accessibility & contrast

On white

7.64
#31567B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#31567B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31567B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31567B#FFFFFF#000000##FFFFFF
##31567B1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577D
Deuteranopia (green-blind)
#3D507A
Tritanopia (blue-blind)
#005F63
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #31567b;
/* rgb */ color: rgb(49, 86, 123);
/* oklch */ color: oklch(44.3% 0.075 249.8);
Tailwind
colors: {
  custom: {
    50: '#7085a1',
    500: '#31567b',
    950: '#000000',
  },
}
SCSS
$custom: #31567b;
$custom-light: #7085a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31567b",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 123
  },
  "hsl": {
    "h": 210,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44281,
    "c": 0.07469,
    "h": 249.8
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#31567B
secondary
#A9845F
accent
#9455D3
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#080B0F
muted
#7B7C7E

Preview Lab

Preview with #31567B

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

Preview Lab → · Contrast checker → · Palette generator →

#31567B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva