#282B63#282B63

#282B63 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.097 H 277.1°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#282B63
RGBrgb(40, 43, 99)
HSLhsl(237, 42%, 27%)
HSVhsv(237, 60%, 39%)
CMYKcmyk(59.6%, 56.6%, 0%, 61.2%)
CIE-LABlab(20.36, 17.06, -33.69)
CIE-LCHlch(20.36, 37.77, 296.85°)
OKLaboklab(32.02% 0.012 -0.0964)
OKLCHoklch(32.02% 0.097 277.1)
XYZxyz(3.9904, 3.0794, 12.1861)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B63 #636028
analogous
#284963 #282B63 #432863
triadic
#282B63 #63282B #2B6328
tetradic
#282B63 #632849 #636028 #286343
square
#282B63 #632849 #636028 #286343
split-complementary
#282B63 #634328 #496328
monochromatic
#090916 #161837 #282B63 #3A3E8F #4E53B7

Accessibility & contrast

On white

13.00
#282B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#282B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B63
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B63#FFFFFF#000000##FFFFFF
##282B631.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3465
Deuteranopia (green-blind)
#002F62
Tritanopia (blue-blind)
#083842
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282b63;
/* rgb */ color: rgb(40, 43, 99);
/* oklch */ color: oklch(32.0% 0.097 277.1);
Tailwind
colors: {
  custom: {
    50: '#686490',
    500: '#282b63',
    950: '#000000',
  },
}
SCSS
$custom: #282b63;
$custom-light: #686490;
$custom-dark: #000000;
JSON
{
  "hex": "#282b63",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 236.949,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32015,
    "c": 0.09715,
    "h": 277.1
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#282B63
secondary
#969251
accent
#CC56D2
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #282B63

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

Preview Lab → · Contrast checker → · Palette generator →

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