#282D93#282D93

#282D93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.164 H 272.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#282D93
RGBrgb(40, 45, 147)
HSLhsl(237, 57%, 37%)
HSVhsv(237, 73%, 58%)
CMYKcmyk(72.8%, 69.4%, 0%, 42.4%)
CIE-LABlab(25.06, 33.39, -56.52)
CIE-LCHlch(25.06, 65.65, 300.58°)
OKLaboklab(36.77% 0.0082 -0.1634)
OKLCHoklch(36.77% 0.164 272.9)
XYZxyz(7.0782, 4.4338, 28.0809)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D93 #938E28
analogous
#286393 #282D93 #592893
triadic
#282D93 #93282D #2D9328
tetradic
#282D93 #932863 #938E28 #289359
square
#282D93 #932863 #938E28 #289359
split-complementary
#282D93 #935928 #639328
monochromatic
#0E1033 #1B1E63 #282D93 #353CC3 #6167D4

Accessibility & contrast

On white

11.13
#282D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#282D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D93
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D93#FFFFFF#000000##FFFFFF
##282D931.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282d93;
/* rgb */ color: rgb(40, 45, 147);
/* oklch */ color: oklch(36.8% 0.164 272.9);
Tailwind
colors: {
  custom: {
    50: '#7266b4',
    500: '#282d93',
    950: '#000000',
  },
}
SCSS
$custom: #282d93;
$custom-light: #7266b4;
$custom-dark: #000000;
JSON
{
  "hex": "#282d93",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 237.196,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3677,
    "c": 0.1636,
    "h": 272.9
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#282D93
secondary
#BAB55D
accent
#D947E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282D93

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

Preview Lab → · Contrast checker → · Palette generator →

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