#282F66#282F66

#282F66 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.096 H 274.5°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#282F66
RGBrgb(40, 47, 102)
HSLhsl(233, 44%, 28%)
HSVhsv(233, 61%, 40%)
CMYKcmyk(60.8%, 53.9%, 0%, 60%)
CIE-LABlab(21.74, 15.35, -33.43)
CIE-LCHlch(21.74, 36.79, 294.66°)
OKLaboklab(33.12% 0.0075 -0.0956)
OKLCHoklch(33.12% 0.096 274.5)
XYZxyz(4.2891, 3.4431, 13.0064)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F66 #665F28
analogous
#284E66 #282F66 #402866
triadic
#282F66 #66282F #2F6628
tetradic
#282F66 #66284E #665F28 #286640
square
#282F66 #66284E #665F28 #286640
split-complementary
#282F66 #664028 #4E6628
monochromatic
#090A16 #171B3A #282F66 #394392 #4F5BBA

Accessibility & contrast

On white

12.44
#282F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#282F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F66
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F66#FFFFFF#000000##FFFFFF
##282F661.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123768
Deuteranopia (green-blind)
#063265
Tritanopia (blue-blind)
#023B45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282f66;
/* rgb */ color: rgb(40, 47, 102);
/* oklch */ color: oklch(33.1% 0.096 274.5);
Tailwind
colors: {
  custom: {
    50: '#686792',
    500: '#282f66',
    950: '#000000',
  },
}
SCSS
$custom: #282f66;
$custom-light: #686792;
$custom-dark: #000000;
JSON
{
  "hex": "#282f66",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 233.226,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33122,
    "c": 0.09589,
    "h": 274.5
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#282F66
secondary
#999151
accent
#C554D3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #282F66

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

Preview Lab → · Contrast checker → · Palette generator →

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