#282B60#282B60

#282B60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.092 H 277.3°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#282B60
RGBrgb(40, 43, 96)
HSLhsl(237, 41%, 27%)
HSVhsv(237, 58%, 38%)
CMYKcmyk(58.3%, 55.2%, 0%, 62.4%)
CIE-LABlab(20.14, 15.95, -32.08)
CIE-LCHlch(20.14, 35.83, 296.44°)
OKLaboklab(31.78% 0.0118 -0.0917)
OKLCHoklch(31.78% 0.092 277.3)
XYZxyz(3.8496, 3.0231, 11.4447)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B60 #605D28
analogous
#284760 #282B60 #412860
triadic
#282B60 #60282B #2B6028
tetradic
#282B60 #602847 #605D28 #286041
square
#282B60 #602847 #605D28 #286041
split-complementary
#282B60 #604128 #476028
monochromatic
#090A16 #161835 #282B60 #3A3E8B #4D53B5

Accessibility & contrast

On white

13.09
#282B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#282B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B60
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B60#FFFFFF#000000##FFFFFF
##282B601.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3362
Deuteranopia (green-blind)
#062E5F
Tritanopia (blue-blind)
#0D3741
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282b60;
/* rgb */ color: rgb(40, 43, 96);
/* oklch */ color: oklch(31.8% 0.092 277.3);
Tailwind
colors: {
  custom: {
    50: '#67648d',
    500: '#282b60',
    950: '#000000',
  },
}
SCSS
$custom: #282b60;
$custom-light: #67648d;
$custom-dark: #000000;
JSON
{
  "hex": "#282b60",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 236.786,
    "s": 41.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31776,
    "c": 0.09242,
    "h": 277.3
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#282B60
secondary
#938F51
accent
#CA57D1
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #282B60

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

Preview Lab → · Contrast checker → · Palette generator →

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