#282F9E#282F9E

#282F9E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.176 H 271.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#282F9E
RGBrgb(40, 47, 158)
HSLhsl(236, 60%, 39%)
HSVhsv(236, 75%, 62%)
CMYKcmyk(74.7%, 70.3%, 0%, 38%)
CIE-LABlab(26.60, 36.07, -60.73)
CIE-LCHlch(26.60, 70.63, 300.71°)
OKLaboklab(38.21% 0.0057 -0.1757)
OKLCHoklch(38.21% 0.176 271.9)
XYZxyz(8.0611, 4.9519, 32.8721)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F9E #9E9728
analogous
#286A9E #282F9E #5C289E
triadic
#282F9E #9E282F #2F9E28
tetradic
#282F9E #9E286A #9E9728 #289E5C
square
#282F9E #9E286A #9E9728 #289E5C
split-complementary
#282F9E #9E5C28 #6A9E28
monochromatic
#0F123C #1C206D #282F9E #3740CC #686ED9

Accessibility & contrast

On white

10.55
#282F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#282F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F9E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F9E#FFFFFF#000000##FFFFFF
##282F9E1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282f9e;
/* rgb */ color: rgb(40, 47, 158);
/* oklch */ color: oklch(38.2% 0.176 271.9);
Tailwind
colors: {
  custom: {
    50: '#7568bc',
    500: '#282f9e',
    950: '#000000',
  },
}
SCSS
$custom: #282f9e;
$custom-light: #7568bc;
$custom-dark: #000000;
JSON
{
  "hex": "#282f9e",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 236.441,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3821,
    "c": 0.17577,
    "h": 271.9
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#282F9E
secondary
#BFB963
accent
#D945E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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