#28349F#28349F

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

Color values

HEX#28349F
RGBrgb(40, 52, 159)
HSLhsl(234, 60%, 39%)
HSVhsv(234, 75%, 62%)
CMYKcmyk(74.8%, 67.3%, 0%, 37.6%)
CIE-LABlab(27.87, 33.25, -59.24)
CIE-LCHlch(27.87, 67.94, 299.31°)
OKLaboklab(39.16% 0.0026 -0.1713)
OKLCHoklch(39.16% 0.171 270.9)
XYZxyz(8.3589, 5.4094, 33.3978)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28349F #9F9328
analogous
#28709F #28349F #58289F
triadic
#28349F #9F2834 #349F28
tetradic
#28349F #9F2870 #9F9328 #289F58
square
#28349F #9F2870 #9F9328 #289F58
split-complementary
#28349F #9F5828 #709F28
monochromatic
#0F143D #1C246E #28349F #3746CD #6874D9

Accessibility & contrast

On white

10.09
#28349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28349F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28349F#FFFFFF#000000##FFFFFF
##28349F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #28349f;
/* rgb */ color: rgb(40, 52, 159);
/* oklch */ color: oklch(39.2% 0.171 270.9);
Tailwind
colors: {
  custom: {
    50: '#756bbc',
    500: '#28349f',
    950: '#000000',
  },
}
SCSS
$custom: #28349f;
$custom-light: #756bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#28349f",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 233.95,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39163,
    "c": 0.17135,
    "h": 270.9
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#28349F
secondary
#BFB664
accent
#D345E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #28349F

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

Preview Lab → · Contrast checker → · Palette generator →

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