#282CAA#282CAA

#282CAA is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.194 H 271.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#282CAA
RGBrgb(40, 44, 170)
HSLhsl(238, 62%, 41%)
HSVhsv(238, 76%, 67%)
CMYKcmyk(76.5%, 74.1%, 0%, 33.3%)
CIE-LABlab(27.17, 42.07, -67.05)
CIE-LCHlch(27.17, 79.15, 302.11°)
OKLaboklab(38.99% 0.0055 -0.1941)
OKLCHoklch(38.99% 0.194 271.6)
XYZxyz(9.0290, 5.1538, 38.5413)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282CAA #AAA628
analogous
#286DAA #282CAA #6528AA
triadic
#282CAA #AA282C #2CAA28
tetradic
#282CAA #AA286D #AAA628 #28AA65
square
#282CAA #AA286D #AAA628 #28AA65
split-complementary
#282CAA #AA6528 #6DAA28
monochromatic
#111247 #1C1F78 #282CAA #3E42D2 #6F73DD

Accessibility & contrast

On white

10.34
#282CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#282CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282CAA
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282CAA#FFFFFF#000000##FFFFFF
##282CAA1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #282caa;
/* rgb */ color: rgb(40, 44, 170);
/* oklch */ color: oklch(39.0% 0.194 271.6);
Tailwind
colors: {
  custom: {
    50: '#7866c5',
    500: '#282caa',
    950: '#000000',
  },
}
SCSS
$custom: #282caa;
$custom-light: #7866c5;
$custom-dark: #000000;
JSON
{
  "hex": "#282caa",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 238.154,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38987,
    "c": 0.19418,
    "h": 271.6
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#282CAA
secondary
#C4C16A
accent
#E043E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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