#282E93#282E93

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

Color values

HEX#282E93
RGBrgb(40, 46, 147)
HSLhsl(237, 57%, 37%)
HSVhsv(237, 73%, 58%)
CMYKcmyk(72.8%, 68.7%, 0%, 42.4%)
CIE-LABlab(25.29, 32.75, -56.13)
CIE-LCHlch(25.29, 64.99, 300.26°)
OKLaboklab(36.94% 0.0076 -0.1622)
OKLCHoklch(36.94% 0.162 272.7)
XYZxyz(7.1168, 4.5110, 28.0938)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E93 #938D28
analogous
#286493 #282E93 #582893
triadic
#282E93 #93282E #2E9328
tetradic
#282E93 #932864 #938D28 #289358
square
#282E93 #932864 #938D28 #289358
split-complementary
#282E93 #935828 #649328
monochromatic
#0E1033 #1B1F63 #282E93 #353DC3 #6168D4

Accessibility & contrast

On white

11.04
#282E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#282E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E93
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E93#FFFFFF#000000##FFFFFF
##282E931.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282e93;
/* rgb */ color: rgb(40, 46, 147);
/* oklch */ color: oklch(36.9% 0.162 272.7);
Tailwind
colors: {
  custom: {
    50: '#7267b4',
    500: '#282e93',
    950: '#000000',
  },
}
SCSS
$custom: #282e93;
$custom-light: #7267b4;
$custom-dark: #000000;
JSON
{
  "hex": "#282e93",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 236.636,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36941,
    "c": 0.16243,
    "h": 272.7
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#282E93
secondary
#BAB55D
accent
#D847E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282E93

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

Preview Lab → · Contrast checker → · Palette generator →

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