#28359C#28359C

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

Color values

HEX#28359C
RGBrgb(40, 53, 156)
HSLhsl(233, 59%, 38%)
HSVhsv(233, 74%, 61%)
CMYKcmyk(74.4%, 66%, 0%, 38.8%)
CIE-LABlab(27.84, 31.50, -57.47)
CIE-LCHlch(27.84, 65.54, 298.73°)
OKLaboklab(39.05% 0.0022 -0.1661)
OKLCHoklch(39.05% 0.166 270.8)
XYZxyz(8.1469, 5.3968, 32.0584)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28359C #9C8F28
analogous
#286F9C #28359C #55289C
triadic
#28359C #9C2835 #359C28
tetradic
#28359C #9C286F #9C8F28 #289C55
square
#28359C #9C286F #9C8F28 #289C55
split-complementary
#28359C #9C5528 #6F9C28
monochromatic
#0F143B #1C246B #28359C #3647CB #6773D8

Accessibility & contrast

On white

10.10
#28359C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#28359C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28359C
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28359C#FFFFFF#000000##FFFFFF
##28359C1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #28359c;
/* rgb */ color: rgb(40, 53, 156);
/* oklch */ color: oklch(39.1% 0.166 270.8);
Tailwind
colors: {
  custom: {
    50: '#746cba',
    500: '#28359c',
    950: '#000000',
  },
}
SCSS
$custom: #28359c;
$custom-light: #746cba;
$custom-dark: #000000;
JSON
{
  "hex": "#28359c",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 156
  },
  "hsl": {
    "h": 233.276,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39053,
    "c": 0.16616,
    "h": 270.8
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#28359C
secondary
#BEB462
accent
#D145E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #28359C

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

Preview Lab → · Contrast checker → · Palette generator →

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