#282BA7#282BA7

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

Color values

HEX#282BA7
RGBrgb(40, 43, 167)
HSLhsl(239, 61%, 41%)
HSVhsv(239, 76%, 65%)
CMYKcmyk(76%, 74.3%, 0%, 34.5%)
CIE-LABlab(26.64, 41.63, -66.11)
CIE-LCHlch(26.64, 78.12, 302.20°)
OKLaboklab(38.52% 0.0065 -0.1913)
OKLCHoklch(38.52% 0.191 271.9)
XYZxyz(8.7116, 4.9680, 37.0515)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BA7 #A7A428
analogous
#286AA7 #282BA7 #6528A7
triadic
#282BA7 #A7282B #2BA728
tetradic
#282BA7 #A7286A #A7A428 #28A765
square
#282BA7 #A7286A #A7A428 #28A765
split-complementary
#282BA7 #A76528 #6AA728
monochromatic
#101244 #1C1E76 #282BA7 #3C3FD0 #6D70DC

Accessibility & contrast

On white

10.53
#282BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282BA7
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BA7#FFFFFF#000000##FFFFFF
##282BA71.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282ba7;
/* rgb */ color: rgb(40, 43, 167);
/* oklch */ color: oklch(38.5% 0.191 271.9);
Tailwind
colors: {
  custom: {
    50: '#7766c2',
    500: '#282ba7',
    950: '#000000',
  },
}
SCSS
$custom: #282ba7;
$custom-light: #7766c2;
$custom-dark: #000000;
JSON
{
  "hex": "#282ba7",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 238.583,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38519,
    "c": 0.19146,
    "h": 271.9
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#282BA7
secondary
#C3C168
accent
#E143E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #282BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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