#282B90#282B90

#282B90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.162 H 273.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#282B90
RGBrgb(40, 43, 144)
HSLhsl(238, 57%, 36%)
HSVhsv(238, 72%, 56%)
CMYKcmyk(72.2%, 70.1%, 0%, 43.5%)
CIE-LABlab(24.30, 33.59, -55.91)
CIE-LCHlch(24.30, 65.23, 300.99°)
OKLaboklab(36.13% 0.0099 -0.1616)
OKLCHoklch(36.13% 0.162 273.5)
XYZxyz(6.7713, 4.1918, 26.8324)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B90 #908D28
analogous
#285F90 #282B90 #592890
triadic
#282B90 #90282B #2B9028
tetradic
#282B90 #90285F #908D28 #289059
square
#282B90 #90285F #908D28 #289059
split-complementary
#282B90 #905928 #5F9028
monochromatic
#0D0E30 #1B1D60 #282B90 #3539C0 #6063D3

Accessibility & contrast

On white

11.42
#282B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#282B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B90
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B90#FFFFFF#000000##FFFFFF
##282B901.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282b90;
/* rgb */ color: rgb(40, 43, 144);
/* oklch */ color: oklch(36.1% 0.162 273.5);
Tailwind
colors: {
  custom: {
    50: '#7265b2',
    500: '#282b90',
    950: '#000000',
  },
}
SCSS
$custom: #282b90;
$custom-light: #7265b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282b90",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 238.269,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36131,
    "c": 0.16193,
    "h": 273.5
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#282B90
secondary
#B8B65C
accent
#DB48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282B90

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

Preview Lab → · Contrast checker → · Palette generator →

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