#282F5E#282F5E

#282F5E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.083 H 274.5°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#282F5E
RGBrgb(40, 47, 94)
HSLhsl(232, 40%, 26%)
HSVhsv(232, 57%, 37%)
CMYKcmyk(57.4%, 50%, 0%, 63.1%)
CIE-LABlab(21.18, 12.38, -29.10)
CIE-LCHlch(21.18, 31.62, 293.04°)
OKLaboklab(32.52% 0.0065 -0.0828)
OKLCHoklch(32.52% 0.083 274.5)
XYZxyz(3.9113, 3.2920, 11.0168)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F5E #5E5728
analogous
#284A5E #282F5E #3C285E
triadic
#282F5E #5E282F #2F5E28
tetradic
#282F5E #5E284A #5E5728 #285E3C
square
#282F5E #5E284A #5E5728 #285E3C
split-complementary
#282F5E #5E3C28 #4A5E28
monochromatic
#090B15 #161A33 #282F5E #3A4489 #4D5AB3

Accessibility & contrast

On white

12.66
#282F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#282F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F5E
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F5E#FFFFFF#000000##FFFFFF
##282F5E1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3560
Deuteranopia (green-blind)
#13315D
Tritanopia (blue-blind)
#0E3942
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282f5e;
/* rgb */ color: rgb(40, 47, 94);
/* oklch */ color: oklch(32.5% 0.083 274.5);
Tailwind
colors: {
  custom: {
    50: '#67678c',
    500: '#282f5e',
    950: '#000000',
  },
}
SCSS
$custom: #282f5e;
$custom-light: #67678c;
$custom-dark: #000000;
JSON
{
  "hex": "#282f5e",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 232.222,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32518,
    "c": 0.0831,
    "h": 274.5
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#282F5E
secondary
#918851
accent
#C158D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #282F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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