#283167#283167

#283167 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.095 H 273.2°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#283167
RGBrgb(40, 49, 103)
HSLhsl(231, 44%, 28%)
HSVhsv(231, 61%, 40%)
CMYKcmyk(61.2%, 52.4%, 0%, 59.6%)
CIE-LABlab(22.40, 14.31, -33.02)
CIE-LCHlch(22.40, 35.99, 293.43°)
OKLaboklab(33.64% 0.0052 -0.0944)
OKLCHoklch(33.64% 0.095 273.2)
XYZxyz(4.4208, 3.6267, 13.2964)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283167 #675E28
analogous
#285067 #283167 #3E2867
triadic
#283167 #672831 #316728
tetradic
#283167 #672850 #675E28 #28673E
square
#283167 #672850 #675E28 #28673E
split-complementary
#283167 #673E28 #506728
monochromatic
#090A16 #171C3B #283167 #394693 #4F5EBB

Accessibility & contrast

On white

12.17
#283167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#283167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283167
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283167#FFFFFF#000000##FFFFFF
##2831671.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163869
Deuteranopia (green-blind)
#0B3366
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283167;
/* rgb */ color: rgb(40, 49, 103);
/* oklch */ color: oklch(33.6% 0.095 273.2);
Tailwind
colors: {
  custom: {
    50: '#686893',
    500: '#283167',
    950: '#000000',
  },
}
SCSS
$custom: #283167;
$custom-light: #686893;
$custom-dark: #000000;
JSON
{
  "hex": "#283167",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 231.429,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33643,
    "c": 0.09451,
    "h": 273.2
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#283167
secondary
#9A8F51
accent
#C254D4
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #283167

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

Preview Lab → · Contrast checker → · Palette generator →

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