#282D58#282D58

#282D58 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.076 H 276.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#282D58
RGBrgb(40, 45, 88)
HSLhsl(234, 38%, 25%)
HSVhsv(234, 55%, 35%)
CMYKcmyk(54.5%, 48.9%, 0%, 65.5%)
CIE-LABlab(20.17, 11.60, -26.73)
CIE-LCHlch(20.17, 29.14, 293.46°)
OKLaboklab(31.62% 0.0081 -0.0759)
OKLCHoklch(31.62% 0.076 276.1)
XYZxyz(3.5744, 3.0323, 9.6276)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D58 #585328
analogous
#284558 #282D58 #3B2858
triadic
#282D58 #58282D #2D5828
tetradic
#282D58 #582845 #585328 #28583B
square
#282D58 #582845 #585328 #28583B
split-complementary
#282D58 #583B28 #455828
monochromatic
#0A0B15 #15172E #282D58 #3B4382 #4E58AC

Accessibility & contrast

On white

13.07
#282D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#282D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D58
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D58#FFFFFF#000000##FFFFFF
##282D581.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B335A
Deuteranopia (green-blind)
#162F57
Tritanopia (blue-blind)
#14363E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282d58;
/* rgb */ color: rgb(40, 45, 88);
/* oklch */ color: oklch(31.6% 0.076 276.1);
Tailwind
colors: {
  custom: {
    50: '#666587',
    500: '#282d58',
    950: '#000000',
  },
}
SCSS
$custom: #282d58;
$custom-light: #666587;
$custom-dark: #000000;
JSON
{
  "hex": "#282d58",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 88
  },
  "hsl": {
    "h": 233.75,
    "s": 37.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31624,
    "c": 0.07638,
    "h": 276.1
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#282D58
secondary
#8B8551
accent
#C15ACD
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #282D58

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

Preview Lab → · Contrast checker → · Palette generator →

#282D58 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva