#2B2C8C#2B2C8C

#2B2C8C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.155 H 275.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2B2C8C
RGBrgb(43, 44, 140)
HSLhsl(239, 53%, 36%)
HSVhsv(239, 69%, 55%)
CMYKcmyk(69.3%, 68.6%, 0%, 45.1%)
CIE-LABlab(24.35, 31.90, -53.34)
CIE-LCHlch(24.35, 62.15, 300.88°)
OKLaboklab(36.1% 0.0134 -0.154)
OKLCHoklch(36.1% 0.155 275)
XYZxyz(6.6290, 4.2078, 25.2687)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C8C #8C8B2B
analogous
#2B5C8C #2B2C8C #5A2B8C
triadic
#2B2C8C #8C2B2C #2C8C2B
tetradic
#2B2C8C #8C2B5C #8C8B2B #2B8C5A
square
#2B2C8C #8C2B5C #8C8B2B #2B8C5A
split-complementary
#2B2C8C #8C5A2B #5C8C2B
monochromatic
#0E0F2E #1D1D5D #2B2C8C #393BBB #6264CF

Accessibility & contrast

On white

11.40
#2B2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B2C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C8C
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C8C#FFFFFF#000000##FFFFFF
##2B2C8C1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2c8c;
/* rgb */ color: rgb(43, 44, 140);
/* oklch */ color: oklch(36.1% 0.155 275.0);
Tailwind
colors: {
  custom: {
    50: '#7265af',
    500: '#2b2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c8c;
$custom-light: #7265af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c8c",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 239.381,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36103,
    "c": 0.1546,
    "h": 275
  },
  "luminance": 0.04208
}

Semantic roles & 50–950 ramp

primary
#2B2C8C
secondary
#B5B45E
accent
#DB4BDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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