#2836AF#2836AF

#2836AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.190 H 270.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2836AF
RGBrgb(40, 54, 175)
HSLhsl(234, 63%, 42%)
HSVhsv(234, 77%, 69%)
CMYKcmyk(77.1%, 69.1%, 0%, 31.4%)
CIE-LABlab(29.87, 37.77, -65.59)
CIE-LCHlch(29.87, 75.69, 299.93°)
OKLaboklab(41.08% 0 -0.1899)
OKLCHoklch(41.08% 0.19 270)
XYZxyz(9.9295, 6.1835, 41.2194)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2836AF #AFA128
analogous
#2879AF #2836AF #5E28AF
triadic
#2836AF #AF2836 #36AF28
tetradic
#2836AF #AF2879 #AFA128 #28AF5E
square
#2836AF #AF2879 #AFA128 #28AF5E
split-complementary
#2836AF #AF5E28 #79AF28
monochromatic
#11174B #1D277D #2836AF #4150D4 #737EDF

Accessibility & contrast

On white

9.39
#2836AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2836AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2836AF
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2836AF#FFFFFF#000000##FFFFFF
##2836AF1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2836af;
/* rgb */ color: rgb(40, 54, 175);
/* oklch */ color: oklch(41.1% 0.190 270.0);
Tailwind
colors: {
  custom: {
    50: '#786dc8',
    500: '#2836af',
    950: '#000000',
  },
}
SCSS
$custom: #2836af;
$custom-light: #786dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2836af",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 233.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4108,
    "c": 0.18988,
    "h": 270
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#2836AF
secondary
#C6BD6D
accent
#D542E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2836AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2836AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva