#282A63#282A63

#282A63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.099 H 277.7°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#282A63
RGBrgb(40, 42, 99)
HSLhsl(238, 42%, 27%)
HSVhsv(238, 60%, 39%)
CMYKcmyk(59.6%, 57.6%, 0%, 61.2%)
CIE-LABlab(20.07, 17.76, -34.15)
CIE-LCHlch(20.07, 38.50, 297.48°)
OKLaboklab(31.8% 0.0132 -0.0978)
OKLCHoklch(31.8% 0.099 277.7)
XYZxyz(3.9545, 3.0076, 12.1741)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A63 #636128
analogous
#284863 #282A63 #442863
triadic
#282A63 #63282A #2A6328
tetradic
#282A63 #632848 #636128 #286344
square
#282A63 #632848 #636128 #286344
split-complementary
#282A63 #634428 #486328
monochromatic
#090916 #161837 #282A63 #3A3C8F #4E52B7

Accessibility & contrast

On white

13.11
#282A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#282A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A63
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A63#FFFFFF#000000##FFFFFF
##282A631.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073365
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#083742
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282a63;
/* rgb */ color: rgb(40, 42, 99);
/* oklch */ color: oklch(31.8% 0.099 277.7);
Tailwind
colors: {
  custom: {
    50: '#686390',
    500: '#282a63',
    950: '#000000',
  },
}
SCSS
$custom: #282a63;
$custom-light: #686390;
$custom-dark: #000000;
JSON
{
  "hex": "#282a63",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 237.966,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31802,
    "c": 0.09866,
    "h": 277.7
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#282A63
secondary
#969351
accent
#CE56D2
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #282A63

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

Preview Lab → · Contrast checker → · Palette generator →

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