#282F91#282F91

#282F91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.159 H 272.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#282F91
RGBrgb(40, 47, 145)
HSLhsl(236, 57%, 36%)
HSVhsv(236, 72%, 57%)
CMYKcmyk(72.4%, 67.6%, 0%, 43.1%)
CIE-LABlab(25.34, 31.38, -54.81)
CIE-LCHlch(25.34, 63.16, 299.79°)
OKLaboklab(36.92% 0.0071 -0.1584)
OKLCHoklch(36.92% 0.159 272.6)
XYZxyz(7.0007, 4.5278, 27.2876)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F91 #918A28
analogous
#286491 #282F91 #562891
triadic
#282F91 #91282F #2F9128
tetradic
#282F91 #912864 #918A28 #289156
square
#282F91 #912864 #918A28 #289156
split-complementary
#282F91 #915628 #649128
monochromatic
#0E1031 #1B1F61 #282F91 #353FC1 #6068D3

Accessibility & contrast

On white

11.02
#282F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#282F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F91
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F91#FFFFFF#000000##FFFFFF
##282F911.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282f91;
/* rgb */ color: rgb(40, 47, 145);
/* oklch */ color: oklch(36.9% 0.159 272.6);
Tailwind
colors: {
  custom: {
    50: '#7268b2',
    500: '#282f91',
    950: '#000000',
  },
}
SCSS
$custom: #282f91;
$custom-light: #7268b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282f91",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 236,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36921,
    "c": 0.15855,
    "h": 272.6
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#282F91
secondary
#B9B35C
accent
#D648E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282F91

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

Preview Lab → · Contrast checker → · Palette generator →

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