#282DAF#282DAF

#282DAF is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.199 H 271.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#282DAF
RGBrgb(40, 45, 175)
HSLhsl(238, 63%, 42%)
HSVhsv(238, 77%, 69%)
CMYKcmyk(77.1%, 74.3%, 0%, 31.4%)
CIE-LABlab(27.90, 43.19, -68.83)
CIE-LCHlch(27.90, 81.26, 302.11°)
OKLaboklab(39.67% 0.0043 -0.1993)
OKLCHoklch(39.67% 0.199 271.2)
XYZxyz(9.5487, 5.4220, 41.0924)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DAF #AFAA28
analogous
#2870AF #282DAF #6728AF
triadic
#282DAF #AF282D #2DAF28
tetradic
#282DAF #AF2870 #AFAA28 #28AF67
square
#282DAF #AF2870 #AFAA28 #28AF67
split-complementary
#282DAF #AF6728 #70AF28
monochromatic
#11134B #1D207D #282DAF #4146D4 #7377DF

Accessibility & contrast

On white

10.07
#282DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#282DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DAF
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DAF#FFFFFF#000000##FFFFFF
##282DAF1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #282daf;
/* rgb */ color: rgb(40, 45, 175);
/* oklch */ color: oklch(39.7% 0.199 271.2);
Tailwind
colors: {
  custom: {
    50: '#7967c8',
    500: '#282daf',
    950: '#000000',
  },
}
SCSS
$custom: #282daf;
$custom-light: #7967c8;
$custom-dark: #000000;
JSON
{
  "hex": "#282daf",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 237.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.19935,
    "h": 271.2
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#282DAF
secondary
#C6C36D
accent
#E042E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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