#28269B#28269B

#28269B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.182 H 273.5°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#28269B
RGBrgb(40, 38, 155)
HSLhsl(241, 61%, 38%)
HSVhsv(241, 75%, 61%)
CMYKcmyk(74.2%, 75.5%, 0%, 39.2%)
CIE-LABlab(24.33, 40.45, -62.63)
CIE-LCHlch(24.33, 74.55, 302.86°)
OKLaboklab(36.5% 0.011 -0.1812)
OKLCHoklch(36.5% 0.182 273.5)
XYZxyz(7.4826, 4.2031, 31.4209)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28269B #999B26
analogous
#265E9B #28269B #63269B
triadic
#28269B #9B2826 #269B28
tetradic
#28269B #9B265E #999B26 #269B63
square
#28269B #9B265E #999B26 #269B63
split-complementary
#28269B #9B6326 #5E9B26
monochromatic
#0F0E39 #1B1A6A #28269B #3532CC #6563D9

Accessibility & contrast

On white

11.41
#28269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#28269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28269B
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28269B#FFFFFF#000000##FFFFFF
##28269B1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #28269b;
/* rgb */ color: rgb(40, 38, 155);
/* oklch */ color: oklch(36.5% 0.182 273.5);
Tailwind
colors: {
  custom: {
    50: '#7562ba',
    500: '#28269b',
    950: '#000000',
  },
}
SCSS
$custom: #28269b;
$custom-light: #7562ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28269b",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 241.026,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36496,
    "c": 0.18152,
    "h": 273.5
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#28269B
secondary
#BDBE5F
accent
#E444E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #28269B

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

Preview Lab → · Contrast checker → · Palette generator →

#28269B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva