#282B95#282B95

#282B95 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.169 H 273.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#282B95
RGBrgb(40, 43, 149)
HSLhsl(238, 58%, 37%)
HSVhsv(238, 73%, 58%)
CMYKcmyk(73.2%, 71.1%, 0%, 41.6%)
CIE-LABlab(24.79, 35.37, -58.19)
CIE-LCHlch(24.79, 68.09, 301.29°)
OKLaboklab(36.64% 0.0092 -0.1683)
OKLCHoklch(36.64% 0.169 273.1)
XYZxyz(7.1619, 4.3481, 28.8898)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B95 #959228
analogous
#286195 #282B95 #5C2895
triadic
#282B95 #95282B #2B9528
tetradic
#282B95 #952861 #959228 #28955C
square
#282B95 #952861 #959228 #28955C
split-complementary
#282B95 #955C28 #619528
monochromatic
#0E0F35 #1B1D65 #282B95 #3539C5 #6266D5

Accessibility & contrast

On white

11.23
#282B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#282B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B95
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B95#FFFFFF#000000##FFFFFF
##282B951.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282b95;
/* rgb */ color: rgb(40, 43, 149);
/* oklch */ color: oklch(36.6% 0.169 273.1);
Tailwind
colors: {
  custom: {
    50: '#7365b5',
    500: '#282b95',
    950: '#000000',
  },
}
SCSS
$custom: #282b95;
$custom-light: #7365b5;
$custom-dark: #000000;
JSON
{
  "hex": "#282b95",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 238.349,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36637,
    "c": 0.16852,
    "h": 273.1
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#282B95
secondary
#BBB85E
accent
#DD47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282B95

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

Preview Lab → · Contrast checker → · Palette generator →

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