#2B2CAD#2B2CAD

#2B2CAD is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.197 H 272.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2B2CAD
RGBrgb(43, 44, 173)
HSLhsl(240, 60%, 42%)
HSVhsv(240, 75%, 68%)
CMYKcmyk(75.1%, 74.6%, 0%, 32.2%)
CIE-LABlab(27.66, 43.35, -68.04)
CIE-LCHlch(27.66, 80.67, 302.50°)
OKLaboklab(39.48% 0.0084 -0.1969)
OKLCHoklch(39.48% 0.197 272.4)
XYZxyz(9.4372, 5.3311, 40.0587)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CAD #ADAC2B
analogous
#2B6DAD #2B2CAD #6B2BAD
triadic
#2B2CAD #AD2B2C #2CAD2B
tetradic
#2B2CAD #AD2B6D #ADAC2B #2BAD6B
square
#2B2CAD #AD2B6D #ADAC2B #2BAD6B
split-complementary
#2B2CAD #AD6B2B #6DAD2B
monochromatic
#13134B #1F207C #2B2CAD #4546D1 #7676DD

Accessibility & contrast

On white

10.16
#2B2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2B2CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CAD
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CAD#FFFFFF#000000##FFFFFF
##2B2CAD1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003BAB
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b2cad;
/* rgb */ color: rgb(43, 44, 173);
/* oklch */ color: oklch(39.5% 0.197 272.4);
Tailwind
colors: {
  custom: {
    50: '#7a67c7',
    500: '#2b2cad',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cad;
$custom-light: #7a67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cad",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 239.538,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39476,
    "c": 0.19709,
    "h": 272.4
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#2B2CAD
secondary
#C4C46F
accent
#E244E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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