#282B75#282B75

#282B75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.124 H 275.6°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#282B75
RGBrgb(40, 43, 117)
HSLhsl(238, 49%, 31%)
HSVhsv(238, 66%, 46%)
CMYKcmyk(65.8%, 63.2%, 0%, 54.1%)
CIE-LABlab(21.81, 23.73, -43.00)
CIE-LCHlch(21.81, 49.11, 298.90°)
OKLaboklab(33.55% 0.0122 -0.1238)
OKLCHoklch(33.55% 0.124 275.6)
XYZxyz(4.9488, 3.4628, 17.2338)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B75 #757228
analogous
#285175 #282B75 #4B2875
triadic
#282B75 #75282B #2B7528
tetradic
#282B75 #752851 #757228 #28754B
square
#282B75 #752851 #757228 #28754B
split-complementary
#282B75 #754B28 #517528
monochromatic
#09091A #181A47 #282B75 #383CA3 #5358C4

Accessibility & contrast

On white

12.41
#282B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282B75
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B75#FFFFFF#000000##FFFFFF
##282B751.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282b75;
/* rgb */ color: rgb(40, 43, 117);
/* oklch */ color: oklch(33.6% 0.124 275.6);
Tailwind
colors: {
  custom: {
    50: '#6c649d',
    500: '#282b75',
    950: '#000000',
  },
}
SCSS
$custom: #282b75;
$custom-light: #6c649d;
$custom-dark: #000000;
JSON
{
  "hex": "#282b75",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 237.662,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33551,
    "c": 0.12437,
    "h": 275.6
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#282B75
secondary
#A7A452
accent
#D34FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282B75

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

Preview Lab → · Contrast checker → · Palette generator →

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