#282E53#282E53

#282E53 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.066 H 275.0°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#282E53
RGBrgb(40, 46, 83)
HSLhsl(232, 35%, 24%)
HSVhsv(232, 52%, 33%)
CMYKcmyk(51.8%, 44.6%, 0%, 67.5%)
CIE-LABlab(20.16, 9.09, -23.42)
CIE-LCHlch(20.16, 25.12, 291.21°)
OKLaboklab(31.51% 0.0058 -0.0662)
OKLCHoklch(31.51% 0.066 275)
XYZxyz(3.4129, 3.0294, 8.5868)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E53 #534D28
analogous
#284453 #282E53 #382853
triadic
#282E53 #53282E #2E5328
tetradic
#282E53 #532844 #534D28 #285338
square
#282E53 #532844 #534D28 #285338
split-complementary
#282E53 #533828 #445328
monochromatic
#0A0B15 #14172A #282E53 #3C457C #505CA6

Accessibility & contrast

On white

13.08
#282E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#282E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E53
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E53#FFFFFF#000000##FFFFFF
##282E531.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203254
Deuteranopia (green-blind)
#1C2F52
Tritanopia (blue-blind)
#18363C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282e53;
/* rgb */ color: rgb(40, 46, 83);
/* oklch */ color: oklch(31.5% 0.066 275.0);
Tailwind
colors: {
  custom: {
    50: '#656683',
    500: '#282e53',
    950: '#000000',
  },
}
SCSS
$custom: #282e53;
$custom-light: #656683;
$custom-dark: #000000;
JSON
{
  "hex": "#282e53",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 231.628,
    "s": 34.959,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31512,
    "c": 0.06647,
    "h": 275
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#282E53
secondary
#867E51
accent
#BC5DCB
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #282E53

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

Preview Lab → · Contrast checker → · Palette generator →

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