#282A68#282A68

#282A68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.106 H 277.2°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#282A68
RGBrgb(40, 42, 104)
HSLhsl(238, 44%, 28%)
HSVhsv(238, 62%, 41%)
CMYKcmyk(61.5%, 59.6%, 0%, 59.2%)
CIE-LABlab(20.46, 19.61, -36.79)
CIE-LCHlch(20.46, 41.69, 298.06°)
OKLaboklab(32.22% 0.0134 -0.1055)
OKLCHoklch(32.22% 0.106 277.2)
XYZxyz(4.2009, 3.1062, 13.4722)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A68 #686628
analogous
#284A68 #282A68 #462868
triadic
#282A68 #68282A #2A6828
tetradic
#282A68 #68284A #686628 #286846
square
#282A68 #68284A #686628 #286846
split-complementary
#282A68 #684628 #4A6828
monochromatic
#090916 #17183C #282A68 #393C94 #4F52BB

Accessibility & contrast

On white

12.95
#282A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#282A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A68
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A68#FFFFFF#000000##FFFFFF
##282A681.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002F67
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282a68;
/* rgb */ color: rgb(40, 42, 104);
/* oklch */ color: oklch(32.2% 0.106 277.2);
Tailwind
colors: {
  custom: {
    50: '#696394',
    500: '#282a68',
    950: '#000000',
  },
}
SCSS
$custom: #282a68;
$custom-light: #696394;
$custom-dark: #000000;
JSON
{
  "hex": "#282a68",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 238.125,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32217,
    "c": 0.10637,
    "h": 277.2
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#282A68
secondary
#9B9851
accent
#D054D4
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #282A68

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

Preview Lab → · Contrast checker → · Palette generator →

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