#282958#282958

#282958 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.083 H 279.4°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#282958
RGBrgb(40, 41, 88)
HSLhsl(239, 38%, 25%)
HSVhsv(239, 55%, 35%)
CMYKcmyk(54.5%, 53.4%, 0%, 65.5%)
CIE-LABlab(18.98, 14.45, -28.65)
CIE-LCHlch(18.98, 32.08, 296.77°)
OKLaboklab(30.72% 0.0136 -0.0816)
OKLCHoklch(30.72% 0.083 279.4)
XYZxyz(3.4289, 2.7414, 9.5791)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282958 #585728
analogous
#284158 #282958 #3F2858
triadic
#282958 #582829 #295828
tetradic
#282958 #582841 #585728 #28583F
square
#282958 #582841 #585728 #28583F
split-complementary
#282958 #583F28 #415828
monochromatic
#0A0A15 #15152E #282958 #3B3D82 #4E50AC

Accessibility & contrast

On white

13.56
#282958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#282958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282958
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282958#FFFFFF#000000##FFFFFF
##2829581.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13305A
Deuteranopia (green-blind)
#0F2C57
Tritanopia (blue-blind)
#15333C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282958;
/* rgb */ color: rgb(40, 41, 88);
/* oklch */ color: oklch(30.7% 0.083 279.4);
Tailwind
colors: {
  custom: {
    50: '#666287',
    500: '#282958',
    950: '#000000',
  },
}
SCSS
$custom: #282958;
$custom-light: #666287;
$custom-dark: #000000;
JSON
{
  "hex": "#282958",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 238.75,
    "s": 37.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30719,
    "c": 0.0827,
    "h": 279.4
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#282958
secondary
#8B8A51
accent
#CB5ACD
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #282958

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

Preview Lab → · Contrast checker → · Palette generator →

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