#282B74#282B74

#282B74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.123 H 275.7°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#282B74
RGBrgb(40, 43, 116)
HSLhsl(238, 49%, 31%)
HSVhsv(238, 66%, 45%)
CMYKcmyk(65.5%, 62.9%, 0%, 54.5%)
CIE-LABlab(21.72, 23.36, -42.50)
CIE-LCHlch(21.72, 48.49, 298.80°)
OKLaboklab(33.46% 0.0123 -0.1223)
OKLCHoklch(33.46% 0.123 275.7)
XYZxyz(4.8903, 3.4394, 16.9258)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B74 #747128
analogous
#285174 #282B74 #4B2874
triadic
#282B74 #74282B #2B7428
tetradic
#282B74 #742851 #747128 #28744B
square
#282B74 #742851 #747128 #28744B
split-complementary
#282B74 #744B28 #517428
monochromatic
#090919 #181A46 #282B74 #383CA2 #5357C4

Accessibility & contrast

On white

12.44
#282B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#282B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B74
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B74#FFFFFF#000000##FFFFFF
##282B741.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282b74;
/* rgb */ color: rgb(40, 43, 116);
/* oklch */ color: oklch(33.5% 0.123 275.7);
Tailwind
colors: {
  custom: {
    50: '#6b649d',
    500: '#282b74',
    950: '#000000',
  },
}
SCSS
$custom: #282b74;
$custom-light: #6b649d;
$custom-dark: #000000;
JSON
{
  "hex": "#282b74",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 237.632,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33461,
    "c": 0.1229,
    "h": 275.7
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#282B74
secondary
#A6A352
accent
#D350D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282B74

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

Preview Lab → · Contrast checker → · Palette generator →

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