#282952#282952

#282952 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.073 H 280.1°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#282952
RGBrgb(40, 41, 82)
HSLhsl(239, 34%, 24%)
HSVhsv(239, 51%, 32%)
CMYKcmyk(51.2%, 50%, 0%, 67.8%)
CIE-LABlab(18.57, 12.30, -25.28)
CIE-LCHlch(18.57, 28.12, 295.94°)
OKLaboklab(30.28% 0.0127 -0.0717)
OKLCHoklch(30.28% 0.073 280.1)
XYZxyz(3.1905, 2.6460, 8.3236)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282952 #525128
analogous
#283E52 #282952 #3C2852
triadic
#282952 #522829 #295228
tetradic
#282952 #52283E #525128 #28523C
square
#282952 #52283E #525128 #28523C
split-complementary
#282952 #523C28 #3E5228
monochromatic
#0A0A15 #141429 #282952 #3C3E7B #5052A4

Accessibility & contrast

On white

13.73
#282952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#282952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282952
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282952#FFFFFF#000000##FFFFFF
##2829521.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F54
Deuteranopia (green-blind)
#152C51
Tritanopia (blue-blind)
#193239
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282952;
/* rgb */ color: rgb(40, 41, 82);
/* oklch */ color: oklch(30.3% 0.073 280.1);
Tailwind
colors: {
  custom: {
    50: '#656283',
    500: '#282952',
    950: '#000000',
  },
}
SCSS
$custom: #282952;
$custom-light: #656283;
$custom-dark: #000000;
JSON
{
  "hex": "#282952",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 238.571,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30276,
    "c": 0.07284,
    "h": 280.1
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#282952
secondary
#858351
accent
#C85DCB
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050A
muted
#7A797C

Preview Lab

Preview with #282952

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

Preview Lab → · Contrast checker → · Palette generator →

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