#282E75#282E75

#282E75 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.120 H 274.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#282E75
RGBrgb(40, 46, 117)
HSLhsl(235, 49%, 31%)
HSVhsv(235, 66%, 46%)
CMYKcmyk(65.8%, 60.7%, 0%, 54.1%)
CIE-LABlab(22.62, 21.67, -41.69)
CIE-LCHlch(22.62, 46.98, 297.47°)
OKLaboklab(34.15% 0.0093 -0.1199)
OKLCHoklch(34.15% 0.12 274.4)
XYZxyz(5.0619, 3.6890, 17.2715)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E75 #756F28
analogous
#285475 #282E75 #482875
triadic
#282E75 #75282E #2E7528
tetradic
#282E75 #752854 #756F28 #287548
square
#282E75 #752854 #756F28 #287548
split-complementary
#282E75 #754828 #547528
monochromatic
#090A1A #181C47 #282E75 #3840A3 #535CC4

Accessibility & contrast

On white

12.08
#282E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#282E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E75
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E75#FFFFFF#000000##FFFFFF
##282E751.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282e75;
/* rgb */ color: rgb(40, 46, 117);
/* oklch */ color: oklch(34.1% 0.120 274.4);
Tailwind
colors: {
  custom: {
    50: '#6b669d',
    500: '#282e75',
    950: '#000000',
  },
}
SCSS
$custom: #282e75;
$custom-light: #6b669d;
$custom-dark: #000000;
JSON
{
  "hex": "#282e75",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 235.325,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34148,
    "c": 0.12025,
    "h": 274.4
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#282E75
secondary
#A7A052
accent
#CE4FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #282E75

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

Preview Lab → · Contrast checker → · Palette generator →

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