#282A60#282A60

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

Color values

HEX#282A60
RGBrgb(40, 42, 96)
HSLhsl(238, 41%, 27%)
HSVhsv(238, 58%, 38%)
CMYKcmyk(58.3%, 56.3%, 0%, 62.4%)
CIE-LABlab(19.85, 16.66, -32.55)
CIE-LCHlch(19.85, 36.56, 297.10°)
OKLaboklab(31.56% 0.013 -0.093)
OKLCHoklch(31.56% 0.094 278)
XYZxyz(3.8137, 2.9513, 11.4328)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A60 #605E28
analogous
#284660 #282A60 #422860
triadic
#282A60 #60282A #2A6028
tetradic
#282A60 #602846 #605E28 #286042
square
#282A60 #602846 #605E28 #286042
split-complementary
#282A60 #604228 #466028
monochromatic
#090916 #161735 #282A60 #3A3D8B #4D51B5

Accessibility & contrast

On white

13.20
#282A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#282A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A60
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A60#FFFFFF#000000##FFFFFF
##282A601.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3262
Deuteranopia (green-blind)
#032E5F
Tritanopia (blue-blind)
#0D3640
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282a60;
/* rgb */ color: rgb(40, 42, 96);
/* oklch */ color: oklch(31.6% 0.094 278.0);
Tailwind
colors: {
  custom: {
    50: '#67638d',
    500: '#282a60',
    950: '#000000',
  },
}
SCSS
$custom: #282a60;
$custom-light: #67638d;
$custom-dark: #000000;
JSON
{
  "hex": "#282a60",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 237.857,
    "s": 41.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3156,
    "c": 0.09395,
    "h": 278
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#282A60
secondary
#939051
accent
#CD57D1
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #282A60

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

Preview Lab → · Contrast checker → · Palette generator →

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