#2B2C8A#2B2C8A

#2B2C8A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.152 H 275.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2B2C8A
RGBrgb(43, 44, 138)
HSLhsl(239, 52%, 35%)
HSVhsv(239, 69%, 54%)
CMYKcmyk(68.8%, 68.1%, 0%, 45.9%)
CIE-LABlab(24.16, 31.19, -52.40)
CIE-LCHlch(24.16, 60.98, 300.76°)
OKLaboklab(35.91% 0.0136 -0.1513)
OKLCHoklch(35.91% 0.152 275.1)
XYZxyz(6.4829, 4.1494, 24.4991)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C8A #8A892B
analogous
#2B5C8A #2B2C8A #592B8A
triadic
#2B2C8A #8A2B2C #2C8A2B
tetradic
#2B2C8A #8A2B5C #8A892B #2B8A59
square
#2B2C8A #8A2B5C #8A892B #2B8A59
split-complementary
#2B2C8A #8A592B #5C8A2B
monochromatic
#0E0E2D #1C1D5B #2B2C8A #3A3BB9 #6163CE

Accessibility & contrast

On white

11.48
#2B2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C8A
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C8A#FFFFFF#000000##FFFFFF
##2B2C8A1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2c8a;
/* rgb */ color: rgb(43, 44, 138);
/* oklch */ color: oklch(35.9% 0.152 275.1);
Tailwind
colors: {
  custom: {
    50: '#7265ad',
    500: '#2b2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c8a;
$custom-light: #7265ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c8a",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 239.368,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35909,
    "c": 0.15189,
    "h": 275.1
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#2B2C8A
secondary
#B4B35D
accent
#DA4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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