#282D95#282D95

#282D95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.166 H 272.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#282D95
RGBrgb(40, 45, 149)
HSLhsl(237, 58%, 37%)
HSVhsv(237, 73%, 58%)
CMYKcmyk(73.2%, 69.8%, 0%, 41.6%)
CIE-LABlab(25.25, 34.11, -57.43)
CIE-LCHlch(25.25, 66.80, 300.71°)
OKLaboklab(36.97% 0.008 -0.1661)
OKLCHoklch(36.97% 0.166 272.8)
XYZxyz(7.2365, 4.4971, 28.9146)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D95 #959028
analogous
#286395 #282D95 #5A2895
triadic
#282D95 #95282D #2D9528
tetradic
#282D95 #952863 #959028 #28955A
square
#282D95 #952863 #959028 #28955A
split-complementary
#282D95 #955A28 #639528
monochromatic
#0E1035 #1B1E65 #282D95 #353CC5 #6268D5

Accessibility & contrast

On white

11.05
#282D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#282D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D95
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D95#FFFFFF#000000##FFFFFF
##282D951.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282d95;
/* rgb */ color: rgb(40, 45, 149);
/* oklch */ color: oklch(37.0% 0.166 272.8);
Tailwind
colors: {
  custom: {
    50: '#7366b5',
    500: '#282d95',
    950: '#000000',
  },
}
SCSS
$custom: #282d95;
$custom-light: #7366b5;
$custom-dark: #000000;
JSON
{
  "hex": "#282d95",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 237.248,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3697,
    "c": 0.16625,
    "h": 272.8
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#282D95
secondary
#BBB65E
accent
#DA47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282D95

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

Preview Lab → · Contrast checker → · Palette generator →

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