#282BA0#282BA0

#282BA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.183 H 272.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#282BA0
RGBrgb(40, 43, 160)
HSLhsl(239, 60%, 39%)
HSVhsv(239, 75%, 63%)
CMYKcmyk(75%, 73.1%, 0%, 37.3%)
CIE-LABlab(25.91, 39.22, -63.07)
CIE-LCHlch(25.91, 74.27, 301.87°)
OKLaboklab(37.78% 0.0076 -0.1825)
OKLCHoklch(37.78% 0.183 272.4)
XYZxyz(8.0820, 4.7161, 33.7353)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BA0 #A09D28
analogous
#2867A0 #282BA0 #6128A0
triadic
#282BA0 #A0282B #2BA028
tetradic
#282BA0 #A02867 #A09D28 #28A061
square
#282BA0 #A02867 #A09D28 #28A061
split-complementary
#282BA0 #A06128 #67A028
monochromatic
#10113E #1C1E6F #282BA0 #383CCD #696CD9

Accessibility & contrast

On white

10.81
#282BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#282BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BA0
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BA0#FFFFFF#000000##FFFFFF
##282BA01.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282ba0;
/* rgb */ color: rgb(40, 43, 160);
/* oklch */ color: oklch(37.8% 0.183 272.4);
Tailwind
colors: {
  custom: {
    50: '#7665bd',
    500: '#282ba0',
    950: '#000000',
  },
}
SCSS
$custom: #282ba0;
$custom-light: #7665bd;
$custom-dark: #000000;
JSON
{
  "hex": "#282ba0",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 238.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37777,
    "c": 0.18268,
    "h": 272.4
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#282BA0
secondary
#C0BD64
accent
#DF45E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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