#283252#283252

#283252 is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.4% C 0.059 H 269.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#283252
RGBrgb(40, 50, 82)
HSLhsl(226, 34%, 24%)
HSVhsv(226, 51%, 32%)
CMYKcmyk(51.2%, 39%, 0%, 67.8%)
CIE-LABlab(21.36, 5.91, -20.86)
CIE-LCHlch(21.36, 21.68, 285.81°)
OKLaboklab(32.42% -0.0003 -0.0587)
OKLCHoklch(32.42% 0.059 269.7)
XYZxyz(3.5382, 3.3413, 8.4395)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283252 #524828
analogous
#284752 #283252 #332852
triadic
#283252 #522832 #325228
tetradic
#283252 #522847 #524828 #285233
square
#283252 #522847 #524828 #285233
split-complementary
#283252 #523328 #475228
monochromatic
#0A0D15 #141929 #283252 #3C4B7B #5064A4

Accessibility & contrast

On white

12.59
#283252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#283252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283252
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283252#FFFFFF#000000##FFFFFF
##2832521.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263553
Deuteranopia (green-blind)
#223251
Tritanopia (blue-blind)
#18393E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #283252;
/* rgb */ color: rgb(40, 50, 82);
/* oklch */ color: oklch(32.4% 0.059 269.7);
Tailwind
colors: {
  custom: {
    50: '#656983',
    500: '#283252',
    950: '#000000',
  },
}
SCSS
$custom: #283252;
$custom-light: #656983;
$custom-dark: #000000;
JSON
{
  "hex": "#283252",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 82
  },
  "hsl": {
    "h": 225.714,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32417,
    "c": 0.05872,
    "h": 269.7
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#283252
secondary
#857851
accent
#B15DCB
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #283252

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

Preview Lab → · Contrast checker → · Palette generator →

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