#282B71#282B71

#282B71 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.118 H 276.0°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#282B71
RGBrgb(40, 43, 113)
HSLhsl(238, 48%, 30%)
HSVhsv(238, 65%, 44%)
CMYKcmyk(64.6%, 61.9%, 0%, 55.7%)
CIE-LABlab(21.47, 22.25, -40.98)
CIE-LCHlch(21.47, 46.63, 298.50°)
OKLaboklab(33.2% 0.0123 -0.1178)
OKLCHoklch(33.2% 0.118 276)
XYZxyz(4.7186, 3.3708, 16.0215)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B71 #716E28
analogous
#285071 #282B71 #492871
triadic
#282B71 #71282B #2B7128
tetradic
#282B71 #712850 #716E28 #287149
square
#282B71 #712850 #716E28 #287149
split-complementary
#282B71 #714928 #507128
monochromatic
#080917 #181A44 #282B71 #383C9E #5256C2

Accessibility & contrast

On white

12.54
#282B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#282B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B71
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B71#FFFFFF#000000##FFFFFF
##282B711.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282b71;
/* rgb */ color: rgb(40, 43, 113);
/* oklch */ color: oklch(33.2% 0.118 276.0);
Tailwind
colors: {
  custom: {
    50: '#6b649a',
    500: '#282b71',
    950: '#000000',
  },
}
SCSS
$custom: #282b71;
$custom-light: #6b649a;
$custom-dark: #000000;
JSON
{
  "hex": "#282b71",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 237.534,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.33195,
    "c": 0.11848,
    "h": 276
  },
  "luminance": 0.03371
}

Semantic roles & 50–950 ramp

primary
#282B71
secondary
#A3A052
accent
#D250D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282B71

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

Preview Lab → · Contrast checker → · Palette generator →

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