#31466F#31466F

#31466F is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.7% C 0.075 H 262.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#31466F
RGBrgb(49, 70, 111)
HSLhsl(220, 39%, 31%)
HSVhsv(220, 56%, 44%)
CMYKcmyk(55.9%, 36.9%, 0%, 56.5%)
CIE-LABlab(29.86, 4.93, -26.23)
CIE-LCHlch(29.86, 26.69, 280.65°)
OKLaboklab(39.69% -0.0093 -0.074)
OKLCHoklch(39.69% 0.075 262.8)
XYZxyz(6.3251, 6.1805, 15.8955)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31466F #6F5A31
analogous
#31656F #31466F #3B316F
triadic
#31466F #6F3146 #466F31
tetradic
#31466F #6F3165 #6F5A31 #316F3B
square
#31466F #6F3165 #6F5A31 #316F3B
split-complementary
#31466F #6F3B31 #656F31
monochromatic
#0C101A #1E2B45 #31466F #446199 #617FB9

Accessibility & contrast

On white

9.39
#31466F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#31466F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31466F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31466F#FFFFFF#000000##FFFFFF
##31466F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364971
Deuteranopia (green-blind)
#2E446E
Tritanopia (blue-blind)
#114F55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #31466f;
/* rgb */ color: rgb(49, 70, 111);
/* oklch */ color: oklch(39.7% 0.075 262.8);
Tailwind
colors: {
  custom: {
    50: '#6e7998',
    500: '#31466f',
    950: '#000000',
  },
}
SCSS
$custom: #31466f;
$custom-light: #6e7998;
$custom-dark: #000000;
JSON
{
  "hex": "#31466f",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 111
  },
  "hsl": {
    "h": 219.677,
    "s": 38.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39692,
    "c": 0.07463,
    "h": 262.8
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#31466F
secondary
#A0895C
accent
#A759CF
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #31466F

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

Preview Lab → · Contrast checker → · Palette generator →

#31466F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva