#2B2DB6#2B2DB6

#2B2DB6 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.6% C 0.207 H 271.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2B2DB6
RGBrgb(43, 45, 182)
HSLhsl(239, 62%, 44%)
HSVhsv(239, 76%, 71%)
CMYKcmyk(76.4%, 75.3%, 0%, 28.6%)
CIE-LABlab(28.82, 45.79, -71.50)
CIE-LCHlch(28.82, 84.90, 302.63°)
OKLaboklab(40.58% 0.0064 -0.207)
OKLCHoklch(40.58% 0.207 271.8)
XYZxyz(10.3753, 5.7666, 44.8132)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DB6 #B6B42B
analogous
#2B73B6 #2B2DB6 #6F2BB6
triadic
#2B2DB6 #B62B2D #2DB62B
tetradic
#2B2DB6 #B62B73 #B6B42B #2BB66F
square
#2B2DB6 #B62B73 #B6B42B #2BB66F
split-complementary
#2B2DB6 #B66F2B #73B62B
monochromatic
#141553 #1F2184 #2B2DB6 #4A4CD4 #7B7DE0

Accessibility & contrast

On white

9.75
#2B2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B2DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DB6
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DB6#FFFFFF#000000##FFFFFF
##2B2DB61.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003DB4
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b2db6;
/* rgb */ color: rgb(43, 45, 182);
/* oklch */ color: oklch(40.6% 0.207 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c68cd',
    500: '#2b2db6',
    950: '#000000',
  },
}
SCSS
$custom: #2b2db6;
$custom-light: #7c68cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2db6",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 239.137,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40581,
    "c": 0.20708,
    "h": 271.8
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#2B2DB6
secondary
#C8C775
accent
#E343E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

#2B2DB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva