#282F68#282F68

#282F68 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.099 H 274.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#282F68
RGBrgb(40, 47, 104)
HSLhsl(233, 44%, 28%)
HSVhsv(233, 62%, 41%)
CMYKcmyk(61.5%, 54.8%, 0%, 59.2%)
CIE-LABlab(21.88, 16.10, -34.50)
CIE-LCHlch(21.88, 38.07, 295.01°)
OKLaboklab(33.28% 0.0077 -0.0987)
OKLCHoklch(33.28% 0.099 274.4)
XYZxyz(4.3895, 3.4833, 13.5351)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F68 #686128
analogous
#284F68 #282F68 #412868
triadic
#282F68 #68282F #2F6828
tetradic
#282F68 #68284F #686128 #286841
square
#282F68 #68284F #686128 #286841
split-complementary
#282F68 #684128 #4F6828
monochromatic
#090A16 #171B3C #282F68 #394394 #4F5BBB

Accessibility & contrast

On white

12.38
#282F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#282F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F68
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F68#FFFFFF#000000##FFFFFF
##282F681.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F376A
Deuteranopia (green-blind)
#023267
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282f68;
/* rgb */ color: rgb(40, 47, 104);
/* oklch */ color: oklch(33.3% 0.099 274.4);
Tailwind
colors: {
  custom: {
    50: '#696793',
    500: '#282f68',
    950: '#000000',
  },
}
SCSS
$custom: #282f68;
$custom-light: #696793;
$custom-dark: #000000;
JSON
{
  "hex": "#282f68",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 233.438,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33279,
    "c": 0.09903,
    "h": 274.4
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#282F68
secondary
#9B9351
accent
#C654D4
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #282F68

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

Preview Lab → · Contrast checker → · Palette generator →

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