#282BA3#282BA3

#282BA3 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.186 H 272.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#282BA3
RGBrgb(40, 43, 163)
HSLhsl(239, 61%, 40%)
HSVhsv(239, 75%, 64%)
CMYKcmyk(75.5%, 73.6%, 0%, 36.1%)
CIE-LABlab(26.22, 40.26, -64.38)
CIE-LCHlch(26.22, 75.93, 302.02°)
OKLaboklab(38.09% 0.0071 -0.1863)
OKLCHoklch(38.09% 0.186 272.2)
XYZxyz(8.3476, 4.8223, 35.1341)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BA3 #A3A028
analogous
#2868A3 #282BA3 #6328A3
triadic
#282BA3 #A3282B #2BA328
tetradic
#282BA3 #A32868 #A3A028 #28A363
square
#282BA3 #A32868 #A3A028 #28A363
split-complementary
#282BA3 #A36328 #68A328
monochromatic
#101141 #1C1E72 #282BA3 #3A3DCF #6B6EDB

Accessibility & contrast

On white

10.69
#282BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#282BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BA3
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BA3#FFFFFF#000000##FFFFFF
##282BA31.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282ba3;
/* rgb */ color: rgb(40, 43, 163);
/* oklch */ color: oklch(38.1% 0.186 272.2);
Tailwind
colors: {
  custom: {
    50: '#7766bf',
    500: '#282ba3',
    950: '#000000',
  },
}
SCSS
$custom: #282ba3;
$custom-light: #7766bf;
$custom-dark: #000000;
JSON
{
  "hex": "#282ba3",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 238.537,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38094,
    "c": 0.18647,
    "h": 272.2
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

primary
#282BA3
secondary
#C1BF66
accent
#E044E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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