#2B2175#2B2175

#2B2175 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.137 H 280.7°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#2B2175
RGBrgb(43, 33, 117)
HSLhsl(247, 56%, 29%)
HSVhsv(247, 72%, 46%)
CMYKcmyk(63.2%, 71.8%, 0%, 54.1%)
CIE-LABlab(19.58, 30.82, -46.63)
CIE-LCHlch(19.58, 55.89, 303.46°)
OKLaboklab(31.99% 0.0255 -0.1344)
OKLCHoklch(31.99% 0.137 280.7)
XYZxyz(4.7500, 2.8853, 17.1328)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2175 #6B7521
analogous
#214175 #2B2175 #552175
triadic
#2B2175 #752B21 #21752B
tetradic
#2B2175 #752141 #6B7521 #217555
square
#2B2175 #752141 #6B7521 #217555
split-complementary
#2B2175 #755521 #417521
monochromatic
#090718 #191445 #2B2175 #3D2EA5 #5646CB

Accessibility & contrast

On white

13.31
#2B2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2B2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2175
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2175#FFFFFF#000000##FFFFFF
##2B21751.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2b2175;
/* rgb */ color: rgb(43, 33, 117);
/* oklch */ color: oklch(32.0% 0.137 280.7);
Tailwind
colors: {
  custom: {
    50: '#6e5d9e',
    500: '#2b2175',
    950: '#000000',
  },
}
SCSS
$custom: #2b2175;
$custom-light: #6e5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2175",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 247.143,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31989,
    "c": 0.13677,
    "h": 280.7
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#2B2175
secondary
#9DA84A
accent
#DF49CD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2B2175

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

Preview Lab → · Contrast checker → · Palette generator →

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