#282BA4#282BA4

#282BA4 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.188 H 272.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#282BA4
RGBrgb(40, 43, 164)
HSLhsl(239, 61%, 40%)
HSVhsv(239, 76%, 64%)
CMYKcmyk(75.6%, 73.8%, 0%, 35.7%)
CIE-LABlab(26.33, 40.60, -64.81)
CIE-LCHlch(26.33, 76.48, 302.06°)
OKLaboklab(38.2% 0.0069 -0.1876)
OKLCHoklch(38.2% 0.188 272.1)
XYZxyz(8.4375, 4.8583, 35.6078)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BA4 #A4A128
analogous
#2869A4 #282BA4 #6328A4
triadic
#282BA4 #A4282B #2BA428
tetradic
#282BA4 #A42869 #A4A128 #28A463
square
#282BA4 #A42869 #A4A128 #28A463
split-complementary
#282BA4 #A46328 #69A428
monochromatic
#101142 #1C1E73 #282BA4 #3A3ECF #6B6EDB

Accessibility & contrast

On white

10.65
#282BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#282BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BA4
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BA4#FFFFFF#000000##FFFFFF
##282BA41.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282ba4;
/* rgb */ color: rgb(40, 43, 164);
/* oklch */ color: oklch(38.2% 0.188 272.1);
Tailwind
colors: {
  custom: {
    50: '#7766c0',
    500: '#282ba4',
    950: '#000000',
  },
}
SCSS
$custom: #282ba4;
$custom-light: #7766c0;
$custom-dark: #000000;
JSON
{
  "hex": "#282ba4",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 238.548,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.382,
    "c": 0.18772,
    "h": 272.1
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#282BA4
secondary
#C1BF66
accent
#E044E4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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