#2839AE#2839AE

#2839AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.185 H 269.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2839AE
RGBrgb(40, 57, 174)
HSLhsl(232, 63%, 42%)
HSVhsv(232, 77%, 68%)
CMYKcmyk(77%, 67.2%, 0%, 31.8%)
CIE-LABlab(30.48, 35.51, -64.00)
CIE-LCHlch(30.48, 73.19, 299.03°)
OKLaboklab(41.49% -0.0015 -0.1852)
OKLCHoklch(41.49% 0.185 269.5)
XYZxyz(9.9756, 6.4323, 40.7520)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2839AE #AE9D28
analogous
#287CAE #2839AE #5A28AE
triadic
#2839AE #AE2839 #39AE28
tetradic
#2839AE #AE287C #AE9D28 #28AE5A
square
#2839AE #AE287C #AE9D28 #28AE5A
split-complementary
#2839AE #AE5A28 #7CAE28
monochromatic
#11184A #1D297C #2839AE #4053D3 #7280DF

Accessibility & contrast

On white

9.18
#2839AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2839AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2839AE
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2839AE#FFFFFF#000000##FFFFFF
##2839AE1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2839ae;
/* rgb */ color: rgb(40, 57, 174);
/* oklch */ color: oklch(41.5% 0.185 269.5);
Tailwind
colors: {
  custom: {
    50: '#786fc7',
    500: '#2839ae',
    950: '#000000',
  },
}
SCSS
$custom: #2839ae;
$custom-light: #786fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2839ae",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 232.388,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41493,
    "c": 0.18522,
    "h": 269.5
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#2839AE
secondary
#C6BA6C
accent
#D142E6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2839AE

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

Preview Lab → · Contrast checker → · Palette generator →

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