#2B2075#2B2075

#2B2075 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.138 H 281.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#2B2075
RGBrgb(43, 32, 117)
HSLhsl(248, 57%, 29%)
HSVhsv(248, 73%, 46%)
CMYKcmyk(63.2%, 72.6%, 0%, 54.1%)
CIE-LABlab(19.35, 31.44, -47.00)
CIE-LCHlch(19.35, 56.55, 303.77°)
OKLaboklab(31.83% 0.0263 -0.1355)
OKLCHoklch(31.83% 0.138 281)
XYZxyz(4.7226, 2.8306, 17.1237)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2075 #6A7520
analogous
#204075 #2B2075 #562075
triadic
#2B2075 #752B20 #20752B
tetradic
#2B2075 #752040 #6A7520 #207556
square
#2B2075 #752040 #6A7520 #207556
split-complementary
#2B2075 #755620 #407520
monochromatic
#090718 #191345 #2B2075 #3D2DA5 #5544CC

Accessibility & contrast

On white

13.41
#2B2075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2B2075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2075
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2075#FFFFFF#000000##FFFFFF
##2B20751.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.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: #2b2075;
/* rgb */ color: rgb(43, 32, 117);
/* oklch */ color: oklch(31.8% 0.138 281.0);
Tailwind
colors: {
  custom: {
    50: '#6e5d9e',
    500: '#2b2075',
    950: '#000000',
  },
}
SCSS
$custom: #2b2075;
$custom-light: #6e5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2075",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 247.765,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31827,
    "c": 0.138,
    "h": 281
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#2B2075
secondary
#9CA848
accent
#E047CD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2B2075

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

Preview Lab → · Contrast checker → · Palette generator →

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