#282BA9#282BA9

#282BA9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.194 H 271.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#282BA9
RGBrgb(40, 43, 169)
HSLhsl(239, 62%, 41%)
HSVhsv(239, 76%, 66%)
CMYKcmyk(76.3%, 74.6%, 0%, 33.7%)
CIE-LABlab(26.86, 42.31, -66.96)
CIE-LCHlch(26.86, 79.21, 302.29°)
OKLaboklab(38.73% 0.0061 -0.1938)
OKLCHoklch(38.73% 0.194 271.8)
XYZxyz(8.8980, 5.0425, 38.0328)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BA9 #A9A628
analogous
#286BA9 #282BA9 #6528A9
triadic
#282BA9 #A9282B #2BA928
tetradic
#282BA9 #A9286B #A9A628 #28A965
square
#282BA9 #A9286B #A9A628 #28A965
split-complementary
#282BA9 #A96528 #6BA928
monochromatic
#111246 #1C1E78 #282BA9 #3D41D1 #6F71DD

Accessibility & contrast

On white

10.46
#282BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#282BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BA9
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BA9#FFFFFF#000000##FFFFFF
##282BA91.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282ba9;
/* rgb */ color: rgb(40, 43, 169);
/* oklch */ color: oklch(38.7% 0.194 271.8);
Tailwind
colors: {
  custom: {
    50: '#7866c4',
    500: '#282ba9',
    950: '#000000',
  },
}
SCSS
$custom: #282ba9;
$custom-light: #7866c4;
$custom-dark: #000000;
JSON
{
  "hex": "#282ba9",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 238.605,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38733,
    "c": 0.19394,
    "h": 271.8
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#282BA9
secondary
#C4C169
accent
#E143E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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