#28269F#28269F

#28269F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.186 H 273.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#28269F
RGBrgb(40, 38, 159)
HSLhsl(241, 61%, 39%)
HSVhsv(241, 76%, 62%)
CMYKcmyk(74.8%, 76.1%, 0%, 37.6%)
CIE-LABlab(24.76, 41.80, -64.36)
CIE-LCHlch(24.76, 76.74, 303.00°)
OKLaboklab(36.93% 0.0102 -0.1862)
OKLCHoklch(36.93% 0.187 273.1)
XYZxyz(7.8241, 4.3397, 33.2195)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28269F #9D9F26
analogous
#26609F #28269F #64269F
triadic
#28269F #9F2826 #269F28
tetradic
#28269F #9F2660 #9D9F26 #269F64
square
#28269F #9F2660 #9D9F26 #269F64
split-complementary
#28269F #9F6426 #609F26
monochromatic
#0F0E3C #1C1A6E #28269F #3634CE #6765DA

Accessibility & contrast

On white

11.24
#28269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#28269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28269F
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28269F#FFFFFF#000000##FFFFFF
##28269F1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #28269f;
/* rgb */ color: rgb(40, 38, 159);
/* oklch */ color: oklch(36.9% 0.186 273.1);
Tailwind
colors: {
  custom: {
    50: '#7662bd',
    500: '#28269f',
    950: '#000000',
  },
}
SCSS
$custom: #28269f;
$custom-light: #7662bd;
$custom-dark: #000000;
JSON
{
  "hex": "#28269f",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 240.992,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36931,
    "c": 0.1865,
    "h": 273.1
  },
  "luminance": 0.04341
}

Semantic roles & 50–950 ramp

primary
#28269F
secondary
#BEC061
accent
#E543E2
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #28269F

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

Preview Lab → · Contrast checker → · Palette generator →

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