#282E9F#282E9F

#282E9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.178 H 272.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#282E9F
RGBrgb(40, 46, 159)
HSLhsl(237, 60%, 39%)
HSVhsv(237, 75%, 62%)
CMYKcmyk(74.8%, 71.1%, 0%, 37.6%)
CIE-LABlab(26.47, 37.05, -61.54)
CIE-LCHlch(26.47, 71.83, 301.05°)
OKLaboklab(38.15% 0.0061 -0.1781)
OKLCHoklch(38.15% 0.178 272)
XYZxyz(8.1080, 4.9075, 33.3141)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E9F #9F9928
analogous
#286A9F #282E9F #5E289F
triadic
#282E9F #9F282E #2E9F28
tetradic
#282E9F #9F286A #9F9928 #289F5E
square
#282E9F #9F286A #9F9928 #289F5E
split-complementary
#282E9F #9F5E28 #6A9F28
monochromatic
#0F123D #1C206E #282E9F #373FCD #686ED9

Accessibility & contrast

On white

10.60
#282E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#282E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E9F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E9F#FFFFFF#000000##FFFFFF
##282E9F1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282e9f;
/* rgb */ color: rgb(40, 46, 159);
/* oklch */ color: oklch(38.1% 0.178 272.0);
Tailwind
colors: {
  custom: {
    50: '#7567bc',
    500: '#282e9f',
    950: '#000000',
  },
}
SCSS
$custom: #282e9f;
$custom-light: #7567bc;
$custom-dark: #000000;
JSON
{
  "hex": "#282e9f",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 236.975,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38148,
    "c": 0.17818,
    "h": 272
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#282E9F
secondary
#BFBB64
accent
#DB45E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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