#282A70#282A70

#282A70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.118 H 276.5°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#282A70
RGBrgb(40, 42, 112)
HSLhsl(238, 47%, 30%)
HSVhsv(238, 64%, 44%)
CMYKcmyk(64.3%, 62.5%, 0%, 56.1%)
CIE-LABlab(21.12, 22.57, -40.91)
CIE-LCHlch(21.12, 46.72, 298.88°)
OKLaboklab(32.91% 0.0134 -0.1176)
OKLCHoklch(32.91% 0.118 276.5)
XYZxyz(4.6267, 3.2765, 15.7147)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A70 #706E28
analogous
#284E70 #282A70 #4A2870
triadic
#282A70 #70282A #2A7028
tetradic
#282A70 #70284E #706E28 #28704A
square
#282A70 #70284E #706E28 #28704A
split-complementary
#282A70 #704A28 #4E7028
monochromatic
#080817 #181943 #282A70 #383B9D #5155C1

Accessibility & contrast

On white

12.69
#282A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#282A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A70
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A70#FFFFFF#000000##FFFFFF
##282A701.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282a70;
/* rgb */ color: rgb(40, 42, 112);
/* oklch */ color: oklch(32.9% 0.118 276.5);
Tailwind
colors: {
  custom: {
    50: '#6b639a',
    500: '#282a70',
    950: '#000000',
  },
}
SCSS
$custom: #282a70;
$custom-light: #6b639a;
$custom-dark: #000000;
JSON
{
  "hex": "#282a70",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 238.333,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32908,
    "c": 0.1184,
    "h": 276.5
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#282A70
secondary
#A2A051
accent
#D351D7
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #282A70

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

Preview Lab → · Contrast checker → · Palette generator →

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