#282D7B#282D7B

#282D7B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.130 H 274.5°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#282D7B
RGBrgb(40, 45, 123)
HSLhsl(236, 51%, 32%)
HSVhsv(236, 67%, 48%)
CMYKcmyk(67.5%, 63.4%, 0%, 51.8%)
CIE-LABlab(22.85, 24.60, -45.12)
CIE-LCHlch(22.85, 51.39, 298.60°)
OKLaboklab(34.48% 0.0102 -0.13)
OKLCHoklch(34.48% 0.13 274.5)
XYZxyz(5.3874, 3.7575, 19.1764)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D7B #7B7628
analogous
#28567B #282D7B #4D287B
triadic
#282D7B #7B282D #2D7B28
tetradic
#282D7B #7B2856 #7B7628 #287B4D
square
#282D7B #7B2856 #7B7628 #287B4D
split-complementary
#282D7B #7B4D28 #567B28
monochromatic
#0A0B1F #191C4D #282D7B #373EA9 #565CC8

Accessibility & contrast

On white

11.99
#282D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#282D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D7B
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D7B#FFFFFF#000000##FFFFFF
##282D7B1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282d7b;
/* rgb */ color: rgb(40, 45, 123);
/* oklch */ color: oklch(34.5% 0.130 274.5);
Tailwind
colors: {
  custom: {
    50: '#6d66a2',
    500: '#282d7b',
    950: '#000000',
  },
}
SCSS
$custom: #282d7b;
$custom-light: #6d66a2;
$custom-dark: #000000;
JSON
{
  "hex": "#282d7b",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 236.386,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34482,
    "c": 0.13038,
    "h": 274.5
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#282D7B
secondary
#ADA752
accent
#D24DDA
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #282D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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