#2839A0#2839A0

#2839A0 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.167 H 269.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2839A0
RGBrgb(40, 57, 160)
HSLhsl(232, 60%, 39%)
HSVhsv(232, 75%, 63%)
CMYKcmyk(75%, 64.4%, 0%, 37.3%)
CIE-LABlab(29.20, 30.36, -57.68)
CIE-LCHlch(29.20, 65.18, 297.77°)
OKLaboklab(40.16% -0.0007 -0.1667)
OKLCHoklch(40.16% 0.167 269.8)
XYZxyz(8.6812, 5.9145, 33.9350)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2839A0 #A08F28
analogous
#2875A0 #2839A0 #5328A0
triadic
#2839A0 #A02839 #39A028
tetradic
#2839A0 #A02875 #A08F28 #28A053
square
#2839A0 #A02875 #A08F28 #28A053
split-complementary
#2839A0 #A05328 #75A028
monochromatic
#10163E #1C286F #2839A0 #384DCD #6979D9

Accessibility & contrast

On white

9.62
#2839A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2839A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2839A0
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2839A0#FFFFFF#000000##FFFFFF
##2839A01.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2839a0;
/* rgb */ color: rgb(40, 57, 160);
/* oklch */ color: oklch(40.2% 0.167 269.8);
Tailwind
colors: {
  custom: {
    50: '#746fbd',
    500: '#2839a0',
    950: '#000000',
  },
}
SCSS
$custom: #2839a0;
$custom-light: #746fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2839a0",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 160
  },
  "hsl": {
    "h": 231.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.16671,
    "h": 269.8
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#2839A0
secondary
#C0B364
accent
#CD45E3
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2839A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2839A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva