#28359B#28359B

#28359B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.165 H 270.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#28359B
RGBrgb(40, 53, 155)
HSLhsl(233, 59%, 38%)
HSVhsv(233, 74%, 61%)
CMYKcmyk(74.2%, 65.8%, 0%, 39.2%)
CIE-LABlab(27.74, 31.14, -57.01)
CIE-LCHlch(27.74, 64.96, 298.64°)
OKLaboklab(38.96% 0.0023 -0.1648)
OKLCHoklch(38.96% 0.165 270.8)
XYZxyz(8.0626, 5.3630, 31.6143)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28359B #9B8E28
analogous
#286E9B #28359B #54289B
triadic
#28359B #9B2835 #359B28
tetradic
#28359B #9B286E #9B8E28 #289B54
square
#28359B #9B286E #9B8E28 #289B54
split-complementary
#28359B #9B5428 #6E9B28
monochromatic
#0F143A #1B246A #28359B #3546CB #6673D7

Accessibility & contrast

On white

10.13
#28359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#28359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28359B
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28359B#FFFFFF#000000##FFFFFF
##28359B1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #28359b;
/* rgb */ color: rgb(40, 53, 155);
/* oklch */ color: oklch(39.0% 0.165 270.8);
Tailwind
colors: {
  custom: {
    50: '#746cb9',
    500: '#28359b',
    950: '#000000',
  },
}
SCSS
$custom: #28359b;
$custom-light: #746cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#28359b",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 233.217,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38958,
    "c": 0.16482,
    "h": 270.8
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#28359B
secondary
#BDB361
accent
#D046E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #28359B

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

Preview Lab → · Contrast checker → · Palette generator →

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