#283147#283147

#283147 is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.5% C 0.042 H 266.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#283147
RGBrgb(40, 49, 71)
HSLhsl(223, 28%, 22%)
HSVhsv(223, 44%, 28%)
CMYKcmyk(43.7%, 31%, 0%, 72.2%)
CIE-LABlab(20.45, 2.82, -14.90)
CIE-LCHlch(20.45, 15.16, 280.71°)
OKLaboklab(31.52% -0.0022 -0.0415)
OKLCHoklch(31.52% 0.042 266.9)
XYZxyz(3.1104, 3.1025, 6.3950)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283147 #473E28
analogous
#284147 #283147 #2F2847
triadic
#283147 #472831 #314728
tetradic
#283147 #472841 #473E28 #28472F
square
#283147 #472841 #473E28 #28472F
split-complementary
#283147 #472F28 #414728
monochromatic
#0B0E14 #121620 #283147 #3E4C6E #546795

Accessibility & contrast

On white

12.96
#283147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#283147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283147
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283147#FFFFFF#000000##FFFFFF
##2831471.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293348
Deuteranopia (green-blind)
#273046
Tritanopia (blue-blind)
#1E3539
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #283147;
/* rgb */ color: rgb(40, 49, 71);
/* oklch */ color: oklch(31.5% 0.042 266.9);
Tailwind
colors: {
  custom: {
    50: '#63687a',
    500: '#283147',
    950: '#000000',
  },
}
SCSS
$custom: #283147;
$custom-light: #63687a;
$custom-dark: #000000;
JSON
{
  "hex": "#283147",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 71
  },
  "hsl": {
    "h": 222.581,
    "s": 27.928,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31516,
    "c": 0.04155,
    "h": 266.9
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#283147
secondary
#796E52
accent
#A864C4
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050609
muted
#797A7B

Preview Lab

Preview with #283147

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

Preview Lab → · Contrast checker → · Palette generator →

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