#282C95#282C95

#282C95 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.167 H 273.0°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#282C95
RGBrgb(40, 44, 149)
HSLhsl(238, 58%, 37%)
HSVhsv(238, 73%, 58%)
CMYKcmyk(73.2%, 70.5%, 0%, 41.6%)
CIE-LABlab(25.02, 34.74, -57.81)
CIE-LCHlch(25.02, 67.45, 301.00°)
OKLaboklab(36.8% 0.0086 -0.1672)
OKLCHoklch(36.8% 0.167 273)
XYZxyz(7.1988, 4.4217, 28.9020)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C95 #959128
analogous
#286395 #282C95 #5B2895
triadic
#282C95 #95282C #2C9528
tetradic
#282C95 #952863 #959128 #28955B
square
#282C95 #952863 #959128 #28955B
split-complementary
#282C95 #955B28 #639528
monochromatic
#0E1035 #1B1E65 #282C95 #353AC5 #6267D5

Accessibility & contrast

On white

11.14
#282C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#282C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C95
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C95#FFFFFF#000000##FFFFFF
##282C951.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282c95;
/* rgb */ color: rgb(40, 44, 149);
/* oklch */ color: oklch(36.8% 0.167 273.0);
Tailwind
colors: {
  custom: {
    50: '#7366b5',
    500: '#282c95',
    950: '#000000',
  },
}
SCSS
$custom: #282c95;
$custom-light: #7366b5;
$custom-dark: #000000;
JSON
{
  "hex": "#282c95",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 237.798,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36802,
    "c": 0.16739,
    "h": 273
  },
  "luminance": 0.04422
}

Semantic roles & 50–950 ramp

primary
#282C95
secondary
#BBB75E
accent
#DB47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282C95

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

Preview Lab → · Contrast checker → · Palette generator →

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