#282C68#282C68

#282C68 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.103 H 276.2°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#282C68
RGBrgb(40, 44, 104)
HSLhsl(236, 44%, 28%)
HSVhsv(236, 62%, 41%)
CMYKcmyk(61.5%, 57.7%, 0%, 59.2%)
CIE-LABlab(21.02, 18.21, -35.88)
CIE-LCHlch(21.02, 40.24, 296.90°)
OKLaboklab(32.64% 0.0111 -0.1028)
OKLCHoklch(32.64% 0.103 276.2)
XYZxyz(4.2736, 3.2516, 13.4964)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C68 #686428
analogous
#284C68 #282C68 #442868
triadic
#282C68 #68282C #2C6828
tetradic
#282C68 #68284C #686428 #286844
square
#282C68 #68284C #686428 #286844
split-complementary
#282C68 #684428 #4C6828
monochromatic
#090916 #17193C #282C68 #393F94 #4F56BB

Accessibility & contrast

On white

12.72
#282C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#282C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C68
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C68#FFFFFF#000000##FFFFFF
##282C681.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05356A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282c68;
/* rgb */ color: rgb(40, 44, 104);
/* oklch */ color: oklch(32.6% 0.103 276.2);
Tailwind
colors: {
  custom: {
    50: '#696594',
    500: '#282c68',
    950: '#000000',
  },
}
SCSS
$custom: #282c68;
$custom-light: #696594;
$custom-dark: #000000;
JSON
{
  "hex": "#282c68",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 104
  },
  "hsl": {
    "h": 236.25,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32635,
    "c": 0.10344,
    "h": 276.2
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

primary
#282C68
secondary
#9B9651
accent
#CC54D4
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #282C68

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

Preview Lab → · Contrast checker → · Palette generator →

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