#282A9F#282A9F

#282A9F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.182 H 272.6°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#282A9F
RGBrgb(40, 42, 159)
HSLhsl(239, 60%, 39%)
HSVhsv(239, 75%, 62%)
CMYKcmyk(74.8%, 73.6%, 0%, 37.6%)
CIE-LABlab(25.59, 39.47, -62.99)
CIE-LCHlch(25.59, 74.34, 302.07°)
OKLaboklab(37.52% 0.0083 -0.1823)
OKLCHoklch(37.52% 0.182 272.6)
XYZxyz(7.9589, 4.6094, 33.2644)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A9F #9F9D28
analogous
#28669F #282A9F #62289F
triadic
#282A9F #9F282A #2A9F28
tetradic
#282A9F #9F2866 #9F9D28 #289F62
square
#282A9F #9F2866 #9F9D28 #289F62
split-complementary
#282A9F #9F6228 #669F28
monochromatic
#0F103D #1C1D6E #282A9F #373ACD #686AD9

Accessibility & contrast

On white

10.93
#282A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#282A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A9F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A9F#FFFFFF#000000##FFFFFF
##282A9F1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282a9f;
/* rgb */ color: rgb(40, 42, 159);
/* oklch */ color: oklch(37.5% 0.182 272.6);
Tailwind
colors: {
  custom: {
    50: '#7665bd',
    500: '#282a9f',
    950: '#000000',
  },
}
SCSS
$custom: #282a9f;
$custom-light: #7665bd;
$custom-dark: #000000;
JSON
{
  "hex": "#282a9f",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 238.992,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37519,
    "c": 0.18246,
    "h": 272.6
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

primary
#282A9F
secondary
#BFBE64
accent
#E045E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #282A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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