#282E70#282E70

#282E70 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.113 H 274.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#282E70
RGBrgb(40, 46, 112)
HSLhsl(235, 47%, 30%)
HSVhsv(235, 64%, 44%)
CMYKcmyk(64.3%, 58.9%, 0%, 56.1%)
CIE-LABlab(22.21, 19.80, -39.14)
CIE-LCHlch(22.21, 43.86, 296.83°)
OKLaboklab(33.72% 0.0092 -0.1124)
OKLCHoklch(33.72% 0.113 274.7)
XYZxyz(4.7757, 3.5746, 15.7644)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E70 #706A28
analogous
#285270 #282E70 #462870
triadic
#282E70 #70282E #2E7028
tetradic
#282E70 #702852 #706A28 #287046
square
#282E70 #702852 #706A28 #287046
split-complementary
#282E70 #704628 #527028
monochromatic
#080917 #181B43 #282E70 #38419D #515BC1

Accessibility & contrast

On white

12.24
#282E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#282E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E70
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E70#FFFFFF#000000##FFFFFF
##282E701.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282e70;
/* rgb */ color: rgb(40, 46, 112);
/* oklch */ color: oklch(33.7% 0.113 274.7);
Tailwind
colors: {
  custom: {
    50: '#6a669a',
    500: '#282e70',
    950: '#000000',
  },
}
SCSS
$custom: #282e70;
$custom-light: #6a669a;
$custom-dark: #000000;
JSON
{
  "hex": "#282e70",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 235,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3372,
    "c": 0.11277,
    "h": 274.7
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#282E70
secondary
#A29C51
accent
#CC51D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #282E70

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

Preview Lab → · Contrast checker → · Palette generator →

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