#28259A#28259A

#28259A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.181 H 273.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#28259A
RGBrgb(40, 37, 154)
HSLhsl(242, 61%, 37%)
HSVhsv(242, 76%, 60%)
CMYKcmyk(74%, 76%, 0%, 39.6%)
CIE-LABlab(24.02, 40.68, -62.53)
CIE-LCHlch(24.02, 74.60, 303.05°)
OKLaboklab(36.24% 0.0117 -0.1809)
OKLCHoklch(36.24% 0.181 273.7)
XYZxyz(7.3674, 4.1066, 30.9700)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28259A #979A25
analogous
#255D9A #28259A #62259A
triadic
#28259A #9A2825 #259A28
tetradic
#28259A #9A255D #979A25 #259A62
square
#28259A #9A255D #979A25 #259A62
split-complementary
#28259A #9A6225 #5D9A25
monochromatic
#0E0D37 #1B1969 #28259A #3531CB #6460D9

Accessibility & contrast

On white

11.53
#28259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#28259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28259A
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28259A#FFFFFF#000000##FFFFFF
##28259A1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #28259a;
/* rgb */ color: rgb(40, 37, 154);
/* oklch */ color: oklch(36.2% 0.181 273.7);
Tailwind
colors: {
  custom: {
    50: '#7561b9',
    500: '#28259a',
    950: '#000000',
  },
}
SCSS
$custom: #28259a;
$custom-light: #7561b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28259a",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 241.538,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36244,
    "c": 0.18126,
    "h": 273.7
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#28259A
secondary
#BCBE5D
accent
#E443E0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #28259A

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

Preview Lab → · Contrast checker → · Palette generator →

#28259A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva