#282B9F#282B9F

#282B9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.181 H 272.4°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#282B9F
RGBrgb(40, 43, 159)
HSLhsl(238, 60%, 39%)
HSVhsv(238, 75%, 62%)
CMYKcmyk(74.8%, 73%, 0%, 37.6%)
CIE-LABlab(25.81, 38.88, -62.64)
CIE-LCHlch(25.81, 73.72, 301.83°)
OKLaboklab(37.67% 0.0078 -0.1812)
OKLCHoklch(37.67% 0.181 272.4)
XYZxyz(7.9949, 4.6812, 33.2764)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B9F #9F9C28
analogous
#28679F #282B9F #61289F
triadic
#282B9F #9F282B #2B9F28
tetradic
#282B9F #9F2867 #9F9C28 #289F61
square
#282B9F #9F2867 #9F9C28 #289F61
split-complementary
#282B9F #9F6128 #679F28
monochromatic
#0F113D #1C1E6E #282B9F #373BCD #686BD9

Accessibility & contrast

On white

10.84
#282B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#282B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B9F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B9F#FFFFFF#000000##FFFFFF
##282B9F1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282b9f;
/* rgb */ color: rgb(40, 43, 159);
/* oklch */ color: oklch(37.7% 0.181 272.4);
Tailwind
colors: {
  custom: {
    50: '#7665bd',
    500: '#282b9f',
    950: '#000000',
  },
}
SCSS
$custom: #282b9f;
$custom-light: #7665bd;
$custom-dark: #000000;
JSON
{
  "hex": "#282b9f",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 238.487,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37672,
    "c": 0.18141,
    "h": 272.4
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#282B9F
secondary
#BFBD64
accent
#DF45E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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