#282E73#282E73

#282E73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 34.0% C 0.117 H 274.5°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#282E73
RGBrgb(40, 46, 115)
HSLhsl(235, 48%, 30%)
HSVhsv(235, 65%, 45%)
CMYKcmyk(65.2%, 60%, 0%, 54.9%)
CIE-LABlab(22.45, 20.92, -40.67)
CIE-LCHlch(22.45, 45.74, 297.22°)
OKLaboklab(33.98% 0.0093 -0.1169)
OKLCHoklch(33.98% 0.117 274.5)
XYZxyz(4.9456, 3.6425, 16.6588)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E73 #736D28
analogous
#285373 #282E73 #472873
triadic
#282E73 #73282E #2E7328
tetradic
#282E73 #732853 #736D28 #287347
square
#282E73 #732853 #736D28 #287347
split-complementary
#282E73 #734728 #537328
monochromatic
#080A18 #181C46 #282E73 #3840A0 #525BC3

Accessibility & contrast

On white

12.15
#282E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#282E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E73
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E73#FFFFFF#000000##FFFFFF
##282E731.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282e73;
/* rgb */ color: rgb(40, 46, 115);
/* oklch */ color: oklch(34.0% 0.117 274.5);
Tailwind
colors: {
  custom: {
    50: '#6b669c',
    500: '#282e73',
    950: '#000000',
  },
}
SCSS
$custom: #282e73;
$custom-light: #6b669c;
$custom-dark: #000000;
JSON
{
  "hex": "#282e73",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 235.2,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33975,
    "c": 0.11727,
    "h": 274.5
  },
  "luminance": 0.03643
}

Semantic roles & 50–950 ramp

primary
#282E73
secondary
#A59F52
accent
#CD50D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #282E73

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

Preview Lab → · Contrast checker → · Palette generator →

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