#282F5D#282F5D

#282F5D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.081 H 274.4°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#282F5D
RGBrgb(40, 47, 93)
HSLhsl(232, 40%, 26%)
HSVhsv(232, 57%, 36%)
CMYKcmyk(57%, 49.5%, 0%, 63.5%)
CIE-LABlab(21.11, 12.01, -28.55)
CIE-LCHlch(21.11, 30.97, 292.81°)
OKLaboklab(32.45% 0.0063 -0.0812)
OKLCHoklch(32.45% 0.081 274.4)
XYZxyz(3.8667, 3.2742, 10.7820)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F5D #5D5628
analogous
#28495D #282F5D #3B285D
triadic
#282F5D #5D282F #2F5D28
tetradic
#282F5D #5D2849 #5D5628 #285D3B
square
#282F5D #5D2849 #5D5628 #285D3B
split-complementary
#282F5D #5D3B28 #495D28
monochromatic
#090B15 #161932 #282F5D #3A4588 #4D5AB2

Accessibility & contrast

On white

12.69
#282F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F5D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F5D#FFFFFF#000000##FFFFFF
##282F5D1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B355F
Deuteranopia (green-blind)
#15315C
Tritanopia (blue-blind)
#0F3941
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282f5d;
/* rgb */ color: rgb(40, 47, 93);
/* oklch */ color: oklch(32.4% 0.081 274.4);
Tailwind
colors: {
  custom: {
    50: '#66678b',
    500: '#282f5d',
    950: '#000000',
  },
}
SCSS
$custom: #282f5d;
$custom-light: #66678b;
$custom-dark: #000000;
JSON
{
  "hex": "#282f5d",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 232.075,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32445,
    "c": 0.08147,
    "h": 274.4
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#282F5D
secondary
#908751
accent
#C058D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #282F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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