#282BAF#282BAF

#282BAF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.4% C 0.201 H 271.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#282BAF
RGBrgb(40, 43, 175)
HSLhsl(239, 63%, 42%)
HSVhsv(239, 77%, 69%)
CMYKcmyk(77.1%, 75.4%, 0%, 31.4%)
CIE-LABlab(27.50, 44.34, -69.50)
CIE-LCHlch(27.50, 82.44, 302.53°)
OKLaboklab(39.38% 0.0051 -0.2012)
OKLCHoklch(39.38% 0.201 271.4)
XYZxyz(9.4742, 5.2730, 41.0676)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BAF #AFAC28
analogous
#286EAF #282BAF #6928AF
triadic
#282BAF #AF282B #2BAF28
tetradic
#282BAF #AF286E #AFAC28 #28AF69
square
#282BAF #AF286E #AFAC28 #28AF69
split-complementary
#282BAF #AF6928 #6EAF28
monochromatic
#11134B #1D1F7D #282BAF #4144D4 #7375DF

Accessibility & contrast

On white

10.22
#282BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#282BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BAF
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BAF#FFFFFF#000000##FFFFFF
##282BAF1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #282baf;
/* rgb */ color: rgb(40, 43, 175);
/* oklch */ color: oklch(39.4% 0.201 271.4);
Tailwind
colors: {
  custom: {
    50: '#7966c8',
    500: '#282baf',
    950: '#000000',
  },
}
SCSS
$custom: #282baf;
$custom-light: #7966c8;
$custom-dark: #000000;
JSON
{
  "hex": "#282baf",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 238.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.3938,
    "c": 0.20129,
    "h": 271.4
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#282BAF
secondary
#C6C46D
accent
#E242E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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