#281CB0#281CB0

#281CB0 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.7% C 0.215 H 272.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#281CB0
RGBrgb(40, 28, 176)
HSLhsl(245, 73%, 40%)
HSVhsv(245, 84%, 69%)
CMYKcmyk(77.3%, 84.1%, 0%, 31%)
CIE-LABlab(25.00, 52.22, -74.25)
CIE-LCHlch(25.00, 90.77, 305.12°)
OKLaboklab(37.67% 0.0097 -0.2148)
OKLCHoklch(37.67% 0.215 272.6)
XYZxyz(9.1242, 4.4152, 41.4372)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281CB0 #A4B01C
analogous
#1C5AB0 #281CB0 #721CB0
triadic
#281CB0 #B0281C #1CB028
tetradic
#281CB0 #B01C5A #A4B01C #1CB072
square
#281CB0 #B01C5A #A4B01C #1CB072
split-complementary
#281CB0 #B0721C #5AB01C
monochromatic
#100B46 #1C147B #281CB0 #3A2CDD #6B61E6

Accessibility & contrast

On white

11.15
#281CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#281CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281CB0
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281CB0#FFFFFF#000000##FFFFFF
##281CB01.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B4
Deuteranopia (green-blind)
#0034AE
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #281cb0;
/* rgb */ color: rgb(40, 28, 176);
/* oklch */ color: oklch(37.7% 0.215 272.6);
Tailwind
colors: {
  custom: {
    50: '#7b5ec9',
    500: '#281cb0',
    950: '#000000',
  },
}
SCSS
$custom: #281cb0;
$custom-light: #7b5ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#281cb0",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 176
  },
  "hsl": {
    "h": 244.865,
    "s": 72.549,
    "l": 40
  },
  "oklch": {
    "l": 0.37667,
    "c": 0.21498,
    "h": 272.6
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#281CB0
secondary
#C1CA5E
accent
#EF39E0
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #281CB0

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

Preview Lab → · Contrast checker → · Palette generator →

#281CB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva