#282E62#282E62

#282E62 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.091 H 275.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#282E62
RGBrgb(40, 46, 98)
HSLhsl(234, 42%, 27%)
HSVhsv(234, 59%, 38%)
CMYKcmyk(59.2%, 53.1%, 0%, 61.6%)
CIE-LABlab(21.16, 14.56, -31.75)
CIE-LCHlch(21.16, 34.94, 294.64°)
OKLaboklab(32.59% 0.0083 -0.0907)
OKLCHoklch(32.59% 0.091 275.2)
XYZxyz(4.0560, 3.2867, 11.9736)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E62 #625C28
analogous
#284B62 #282E62 #3F2862
triadic
#282E62 #62282E #2E6228
tetradic
#282E62 #62284B #625C28 #28623F
square
#282E62 #62284B #625C28 #28623F
split-complementary
#282E62 #623F28 #4B6228
monochromatic
#090A16 #161A37 #282E62 #3A428D #4E59B7

Accessibility & contrast

On white

12.67
#282E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E62
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E62#FFFFFF#000000##FFFFFF
##282E621.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143564
Deuteranopia (green-blind)
#0B3061
Tritanopia (blue-blind)
#093A43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282e62;
/* rgb */ color: rgb(40, 46, 98);
/* oklch */ color: oklch(32.6% 0.091 275.2);
Tailwind
colors: {
  custom: {
    50: '#67668f',
    500: '#282e62',
    950: '#000000',
  },
}
SCSS
$custom: #282e62;
$custom-light: #67668f;
$custom-dark: #000000;
JSON
{
  "hex": "#282e62",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 233.793,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32592,
    "c": 0.09105,
    "h": 275.2
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#282E62
secondary
#958E51
accent
#C556D2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #282E62

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

Preview Lab → · Contrast checker → · Palette generator →

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