#282BA8#282BA8

#282BA8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.193 H 271.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#282BA8
RGBrgb(40, 43, 168)
HSLhsl(239, 62%, 41%)
HSVhsv(239, 76%, 66%)
CMYKcmyk(76.2%, 74.4%, 0%, 34.1%)
CIE-LABlab(26.75, 41.97, -66.54)
CIE-LCHlch(26.75, 78.67, 302.24°)
OKLaboklab(38.63% 0.0063 -0.1926)
OKLCHoklch(38.63% 0.193 271.9)
XYZxyz(8.8044, 5.0051, 37.5403)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BA8 #A8A528
analogous
#286BA8 #282BA8 #6528A8
triadic
#282BA8 #A8282B #2BA828
tetradic
#282BA8 #A8286B #A8A528 #28A865
square
#282BA8 #A8286B #A8A528 #28A865
split-complementary
#282BA8 #A86528 #6BA828
monochromatic
#101245 #1C1E77 #282BA8 #3D40D1 #6E71DC

Accessibility & contrast

On white

10.49
#282BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#282BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BA8
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BA8#FFFFFF#000000##FFFFFF
##282BA81.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282ba8;
/* rgb */ color: rgb(40, 43, 168);
/* oklch */ color: oklch(38.6% 0.193 271.9);
Tailwind
colors: {
  custom: {
    50: '#7866c3',
    500: '#282ba8',
    950: '#000000',
  },
}
SCSS
$custom: #282ba8;
$custom-light: #7866c3;
$custom-dark: #000000;
JSON
{
  "hex": "#282ba8",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 238.594,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38626,
    "c": 0.1927,
    "h": 271.9
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#282BA8
secondary
#C3C169
accent
#E143E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #282BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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