#282F92#282F92

#282F92 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.160 H 272.5°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#282F92
RGBrgb(40, 47, 146)
HSLhsl(236, 57%, 36%)
HSVhsv(236, 73%, 57%)
CMYKcmyk(72.6%, 67.8%, 0%, 42.7%)
CIE-LABlab(25.44, 31.74, -55.27)
CIE-LCHlch(25.44, 63.74, 299.87°)
OKLaboklab(37.02% 0.007 -0.1597)
OKLCHoklch(37.02% 0.16 272.5)
XYZxyz(7.0781, 4.5588, 27.6955)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F92 #928B28
analogous
#286492 #282F92 #562892
triadic
#282F92 #92282F #2F9228
tetradic
#282F92 #922864 #928B28 #289256
square
#282F92 #922864 #928B28 #289256
split-complementary
#282F92 #925628 #649228
monochromatic
#0E1032 #1B2062 #282F92 #353EC2 #6168D4

Accessibility & contrast

On white

10.98
#282F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F92
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F92#FFFFFF#000000##FFFFFF
##282F921.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282f92;
/* rgb */ color: rgb(40, 47, 146);
/* oklch */ color: oklch(37.0% 0.160 272.5);
Tailwind
colors: {
  custom: {
    50: '#7268b3',
    500: '#282f92',
    950: '#000000',
  },
}
SCSS
$custom: #282f92;
$custom-light: #7268b3;
$custom-dark: #000000;
JSON
{
  "hex": "#282f92",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 236.038,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37018,
    "c": 0.15989,
    "h": 272.5
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282F92

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

Preview Lab → · Contrast checker → · Palette generator →

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