#28349E#28349E

#28349E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.170 H 270.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#28349E
RGBrgb(40, 52, 158)
HSLhsl(234, 60%, 39%)
HSVhsv(234, 75%, 62%)
CMYKcmyk(74.7%, 67.1%, 0%, 38%)
CIE-LABlab(27.78, 32.89, -58.79)
CIE-LCHlch(27.78, 67.36, 299.22°)
OKLaboklab(39.07% 0.0027 -0.17)
OKLCHoklch(39.07% 0.17 270.9)
XYZxyz(8.2725, 5.3749, 32.9426)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28349E #9E9228
analogous
#286F9E #28349E #57289E
triadic
#28349E #9E2834 #349E28
tetradic
#28349E #9E286F #9E9228 #289E57
square
#28349E #9E286F #9E9228 #289E57
split-complementary
#28349E #9E5728 #6F9E28
monochromatic
#0F143C #1C246D #28349E #3746CC #6873D9

Accessibility & contrast

On white

10.12
#28349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#28349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28349E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28349E#FFFFFF#000000##FFFFFF
##28349E1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #28349e;
/* rgb */ color: rgb(40, 52, 158);
/* oklch */ color: oklch(39.1% 0.170 270.9);
Tailwind
colors: {
  custom: {
    50: '#746bbc',
    500: '#28349e',
    950: '#000000',
  },
}
SCSS
$custom: #28349e;
$custom-light: #746bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#28349e",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 233.898,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39066,
    "c": 0.17002,
    "h": 270.9
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#28349E
secondary
#BFB563
accent
#D345E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #28349E

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

Preview Lab → · Contrast checker → · Palette generator →

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