#282C93#282C93

#282C93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.165 H 273.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#282C93
RGBrgb(40, 44, 147)
HSLhsl(238, 57%, 37%)
HSVhsv(238, 73%, 58%)
CMYKcmyk(72.8%, 70.1%, 0%, 42.4%)
CIE-LABlab(24.82, 34.03, -56.90)
CIE-LCHlch(24.82, 66.30, 300.88°)
OKLaboklab(36.6% 0.0089 -0.1645)
OKLCHoklch(36.6% 0.165 273.1)
XYZxyz(7.0405, 4.3584, 28.0683)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C93 #938F28
analogous
#286293 #282C93 #5A2893
triadic
#282C93 #93282C #2C9328
tetradic
#282C93 #932862 #938F28 #28935A
square
#282C93 #932862 #938F28 #28935A
split-complementary
#282C93 #935A28 #629328
monochromatic
#0E0F33 #1B1E63 #282C93 #353AC3 #6166D4

Accessibility & contrast

On white

11.22
#282C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#282C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C93
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C93#FFFFFF#000000##FFFFFF
##282C931.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282c93;
/* rgb */ color: rgb(40, 44, 147);
/* oklch */ color: oklch(36.6% 0.165 273.1);
Tailwind
colors: {
  custom: {
    50: '#7366b4',
    500: '#282c93',
    950: '#000000',
  },
}
SCSS
$custom: #282c93;
$custom-light: #7366b4;
$custom-dark: #000000;
JSON
{
  "hex": "#282c93",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 237.757,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.366,
    "c": 0.16475,
    "h": 273.1
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#282C93
secondary
#BAB65D
accent
#DB47E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282C93

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

Preview Lab → · Contrast checker → · Palette generator →

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