#282A9B#282A9B

#282A9B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.177 H 272.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#282A9B
RGBrgb(40, 42, 155)
HSLhsl(239, 59%, 38%)
HSVhsv(239, 74%, 61%)
CMYKcmyk(74.2%, 72.9%, 0%, 39.2%)
CIE-LABlab(25.18, 38.09, -61.23)
CIE-LCHlch(25.18, 72.11, 301.88°)
OKLaboklab(37.1% 0.0089 -0.1771)
OKLCHoklch(37.1% 0.177 272.9)
XYZxyz(7.6174, 4.4728, 31.4659)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A9B #9B9928
analogous
#28639B #282A9B #60289B
triadic
#282A9B #9B282A #2A9B28
tetradic
#282A9B #9B2863 #9B9928 #289B60
square
#282A9B #9B2863 #9B9928 #289B60
split-complementary
#282A9B #9B6028 #639B28
monochromatic
#0F103A #1B1D6A #282A9B #3538CB #6668D7

Accessibility & contrast

On white

11.08
#282A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282A9B
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A9B#FFFFFF#000000##FFFFFF
##282A9B1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282a9b;
/* rgb */ color: rgb(40, 42, 155);
/* oklch */ color: oklch(37.1% 0.177 272.9);
Tailwind
colors: {
  custom: {
    50: '#7565ba',
    500: '#282a9b',
    950: '#000000',
  },
}
SCSS
$custom: #282a9b;
$custom-light: #7565ba;
$custom-dark: #000000;
JSON
{
  "hex": "#282a9b",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 238.957,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37098,
    "c": 0.17737,
    "h": 272.9
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#282A9B
secondary
#BDBC61
accent
#DF46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #282A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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