#282F69#282F69

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

Color values

HEX#282F69
RGBrgb(40, 47, 105)
HSLhsl(234, 45%, 28%)
HSVhsv(234, 62%, 41%)
CMYKcmyk(61.9%, 55.2%, 0%, 58.8%)
CIE-LABlab(21.96, 16.47, -35.03)
CIE-LCHlch(21.96, 38.71, 295.18°)
OKLaboklab(33.36% 0.0078 -0.1003)
OKLCHoklch(33.36% 0.101 274.4)
XYZxyz(4.4406, 3.5037, 13.8041)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F69 #696228
analogous
#284F69 #282F69 #412869
triadic
#282F69 #69282F #2F6928
tetradic
#282F69 #69284F #696228 #286941
square
#282F69 #69284F #696228 #286941
split-complementary
#282F69 #694128 #4F6928
monochromatic
#080A16 #171B3D #282F69 #394395 #4F5BBC

Accessibility & contrast

On white

12.35
#282F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F69
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F69#FFFFFF#000000##FFFFFF
##282F691.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E376B
Deuteranopia (green-blind)
#003268
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282f69;
/* rgb */ color: rgb(40, 47, 105);
/* oklch */ color: oklch(33.4% 0.101 274.4);
Tailwind
colors: {
  custom: {
    50: '#696794',
    500: '#282f69',
    950: '#000000',
  },
}
SCSS
$custom: #282f69;
$custom-light: #696794;
$custom-dark: #000000;
JSON
{
  "hex": "#282f69",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 105
  },
  "hsl": {
    "h": 233.538,
    "s": 44.828,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33359,
    "c": 0.10059,
    "h": 274.4
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#282F69
secondary
#9C9451
accent
#C753D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #282F69

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

Preview Lab → · Contrast checker → · Palette generator →

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