#282D9F#282D9F

#282D9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.179 H 272.1°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#282D9F
RGBrgb(40, 45, 159)
HSLhsl(237, 60%, 39%)
HSVhsv(237, 75%, 62%)
CMYKcmyk(74.8%, 71.7%, 0%, 37.6%)
CIE-LABlab(26.25, 37.66, -61.91)
CIE-LCHlch(26.25, 72.47, 301.31°)
OKLaboklab(37.99% 0.0067 -0.1791)
OKLCHoklch(37.99% 0.179 272.1)
XYZxyz(8.0694, 4.8303, 33.3012)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D9F #9F9A28
analogous
#28699F #282D9F #5F289F
triadic
#282D9F #9F282D #2D9F28
tetradic
#282D9F #9F2869 #9F9A28 #289F5F
square
#282D9F #9F2869 #9F9A28 #289F5F
split-complementary
#282D9F #9F5F28 #699F28
monochromatic
#0F113D #1C1F6E #282D9F #373ECD #686DD9

Accessibility & contrast

On white

10.68
#282D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#282D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D9F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D9F#FFFFFF#000000##FFFFFF
##282D9F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282d9f;
/* rgb */ color: rgb(40, 45, 159);
/* oklch */ color: oklch(38.0% 0.179 272.1);
Tailwind
colors: {
  custom: {
    50: '#7567bc',
    500: '#282d9f',
    950: '#000000',
  },
}
SCSS
$custom: #282d9f;
$custom-light: #7567bc;
$custom-dark: #000000;
JSON
{
  "hex": "#282d9f",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 237.479,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37987,
    "c": 0.17926,
    "h": 272.1
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#282D9F
secondary
#BFBB64
accent
#DC45E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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