#282C90#282C90

#282C90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.161 H 273.3°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#282C90
RGBrgb(40, 44, 144)
HSLhsl(238, 57%, 36%)
HSVhsv(238, 72%, 56%)
CMYKcmyk(72.2%, 69.4%, 0%, 43.5%)
CIE-LABlab(24.53, 32.95, -55.53)
CIE-LCHlch(24.53, 64.57, 300.69°)
OKLaboklab(36.3% 0.0092 -0.1605)
OKLCHoklch(36.3% 0.161 273.3)
XYZxyz(6.8081, 4.2654, 26.8447)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C90 #908C28
analogous
#286090 #282C90 #582890
triadic
#282C90 #90282C #2C9028
tetradic
#282C90 #902860 #908C28 #289058
square
#282C90 #902860 #908C28 #289058
split-complementary
#282C90 #905828 #609028
monochromatic
#0D0F30 #1B1D60 #282C90 #353BC0 #6064D3

Accessibility & contrast

On white

11.33
#282C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#282C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C90
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C90#FFFFFF#000000##FFFFFF
##282C901.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282c90;
/* rgb */ color: rgb(40, 44, 144);
/* oklch */ color: oklch(36.3% 0.161 273.3);
Tailwind
colors: {
  custom: {
    50: '#7265b1',
    500: '#282c90',
    950: '#000000',
  },
}
SCSS
$custom: #282c90;
$custom-light: #7265b1;
$custom-dark: #000000;
JSON
{
  "hex": "#282c90",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 237.692,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.363,
    "c": 0.16077,
    "h": 273.3
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#282C90
secondary
#B8B55C
accent
#DA48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282C90

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

Preview Lab → · Contrast checker → · Palette generator →

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