#282BA6#282BA6

#282BA6 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.190 H 272.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#282BA6
RGBrgb(40, 43, 166)
HSLhsl(239, 61%, 40%)
HSVhsv(239, 76%, 65%)
CMYKcmyk(75.9%, 74.1%, 0%, 34.9%)
CIE-LABlab(26.54, 41.29, -65.68)
CIE-LCHlch(26.54, 77.58, 302.16°)
OKLaboklab(38.41% 0.0066 -0.1901)
OKLCHoklch(38.41% 0.19 272)
XYZxyz(8.6196, 4.9311, 36.5665)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BA6 #A6A328
analogous
#286AA6 #282BA6 #6428A6
triadic
#282BA6 #A6282B #2BA628
tetradic
#282BA6 #A6286A #A6A328 #28A664
square
#282BA6 #A6286A #A6A328 #28A664
split-complementary
#282BA6 #A66428 #6AA628
monochromatic
#101143 #1C1E75 #282BA6 #3B3FD0 #6D6FDC

Accessibility & contrast

On white

10.57
#282BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#282BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BA6
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BA6#FFFFFF#000000##FFFFFF
##282BA61.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282ba6;
/* rgb */ color: rgb(40, 43, 166);
/* oklch */ color: oklch(38.4% 0.190 272.0);
Tailwind
colors: {
  custom: {
    50: '#7766c2',
    500: '#282ba6',
    950: '#000000',
  },
}
SCSS
$custom: #282ba6;
$custom-light: #7766c2;
$custom-dark: #000000;
JSON
{
  "hex": "#282ba6",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 238.571,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38412,
    "c": 0.19021,
    "h": 272
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#282BA6
secondary
#C2C067
accent
#E044E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #282BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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