#282D9C#282D9C

#282D9C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.175 H 272.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#282D9C
RGBrgb(40, 45, 156)
HSLhsl(237, 59%, 38%)
HSVhsv(237, 74%, 61%)
CMYKcmyk(74.4%, 71.2%, 0%, 38.8%)
CIE-LABlab(25.94, 36.60, -60.58)
CIE-LCHlch(25.94, 70.78, 301.14°)
OKLaboklab(37.68% 0.0071 -0.1753)
OKLCHoklch(37.68% 0.175 272.3)
XYZxyz(7.8122, 4.7274, 31.9468)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D9C #9C9728
analogous
#28679C #282D9C #5D289C
triadic
#282D9C #9C282D #2D9C28
tetradic
#282D9C #9C2867 #9C9728 #289C5D
square
#282D9C #9C2867 #9C9728 #289C5D
split-complementary
#282D9C #9C5D28 #679C28
monochromatic
#0F113B #1C1F6B #282D9C #363CCB #676BD8

Accessibility & contrast

On white

10.79
#282D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#282D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D9C
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D9C#FFFFFF#000000##FFFFFF
##282D9C1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282d9c;
/* rgb */ color: rgb(40, 45, 156);
/* oklch */ color: oklch(37.7% 0.175 272.3);
Tailwind
colors: {
  custom: {
    50: '#7567ba',
    500: '#282d9c',
    950: '#000000',
  },
}
SCSS
$custom: #282d9c;
$custom-light: #7567ba;
$custom-dark: #000000;
JSON
{
  "hex": "#282d9c",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 237.414,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37679,
    "c": 0.1754,
    "h": 272.3
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#282D9C
secondary
#BEBA62
accent
#DC45E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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