#28246E#28246E

#28246E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.124 H 279.0°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#28246E
RGBrgb(40, 36, 110)
HSLhsl(243, 51%, 29%)
HSVhsv(243, 67%, 43%)
CMYKcmyk(63.6%, 67.3%, 0%, 56.9%)
CIE-LABlab(19.38, 25.91, -42.44)
CIE-LCHlch(19.38, 49.73, 301.40°)
OKLaboklab(31.58% 0.0194 -0.1222)
OKLCHoklch(31.58% 0.124 279)
XYZxyz(4.3195, 2.8383, 15.0691)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28246E #6A6E24
analogous
#24456E #28246E #4D246E
triadic
#28246E #6E2824 #246E28
tetradic
#28246E #6E2445 #6A6E24 #246E4D
square
#28246E #6E2445 #6A6E24 #246E4D
split-complementary
#28246E #6E4D24 #456E24
monochromatic
#080817 #171540 #28246E #39339C #5049C3

Accessibility & contrast

On white

13.39
#28246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#28246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28246E
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28246E#FFFFFF#000000##FFFFFF
##28246E1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #28246e;
/* rgb */ color: rgb(40, 36, 110);
/* oklch */ color: oklch(31.6% 0.124 279.0);
Tailwind
colors: {
  custom: {
    50: '#6b5f98',
    500: '#28246e',
    950: '#000000',
  },
}
SCSS
$custom: #28246e;
$custom-light: #6b5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#28246e",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 243.243,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31581,
    "c": 0.12372,
    "h": 279
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#28246E
secondary
#9DA14D
accent
#DA4ED3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #28246E

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

Preview Lab → · Contrast checker → · Palette generator →

#28246E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva