#283168#283168

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

Color values

HEX#283168
RGBrgb(40, 49, 104)
HSLhsl(232, 44%, 28%)
HSVhsv(232, 62%, 41%)
CMYKcmyk(61.5%, 52.9%, 0%, 59.2%)
CIE-LABlab(22.47, 14.69, -33.56)
CIE-LCHlch(22.47, 36.63, 293.64°)
OKLaboklab(33.72% 0.0053 -0.0959)
OKLCHoklch(33.72% 0.096 273.2)
XYZxyz(4.4713, 3.6469, 13.5623)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283168 #685F28
analogous
#285168 #283168 #3F2868
triadic
#283168 #682831 #316828
tetradic
#283168 #682851 #685F28 #28683F
square
#283168 #682851 #685F28 #28683F
split-complementary
#283168 #683F28 #516828
monochromatic
#090A16 #171C3C #283168 #394694 #4F5EBB

Accessibility & contrast

On white

12.14
#283168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283168
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283168#FFFFFF#000000##FFFFFF
##2831681.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14396A
Deuteranopia (green-blind)
#093367
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283168;
/* rgb */ color: rgb(40, 49, 104);
/* oklch */ color: oklch(33.7% 0.096 273.2);
Tailwind
colors: {
  custom: {
    50: '#686893',
    500: '#283168',
    950: '#000000',
  },
}
SCSS
$custom: #283168;
$custom-light: #686893;
$custom-dark: #000000;
JSON
{
  "hex": "#283168",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 104
  },
  "hsl": {
    "h": 231.563,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3372,
    "c": 0.09609,
    "h": 273.2
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#283168
secondary
#9B9051
accent
#C254D4
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #283168

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

Preview Lab → · Contrast checker → · Palette generator →

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