#2B2C73#2B2C73

#2B2C73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.119 H 277.3°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#2B2C73
RGBrgb(43, 44, 115)
HSLhsl(239, 46%, 31%)
HSVhsv(239, 63%, 45%)
CMYKcmyk(62.6%, 61.7%, 0%, 54.9%)
CIE-LABlab(22.13, 22.86, -41.18)
CIE-LCHlch(22.13, 47.10, 299.04°)
OKLaboklab(33.8% 0.0152 -0.1183)
OKLCHoklch(33.8% 0.119 277.3)
XYZxyz(4.9905, 3.5524, 16.6390)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C73 #73722B
analogous
#2B5073 #2B2C73 #4E2B73
triadic
#2B2C73 #732B2C #2C732B
tetradic
#2B2C73 #732B50 #73722B #2B734E
square
#2B2C73 #732B50 #73722B #2B734E
split-complementary
#2B2C73 #734E2B #50732B
monochromatic
#0A0A1A #1A1B46 #2B2C73 #3C3DA0 #5859C1

Accessibility & contrast

On white

12.28
#2B2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B2C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C73
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C73#FFFFFF#000000##FFFFFF
##2B2C731.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b2c73;
/* rgb */ color: rgb(43, 44, 115);
/* oklch */ color: oklch(33.8% 0.119 277.3);
Tailwind
colors: {
  custom: {
    50: '#6d659c',
    500: '#2b2c73',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c73;
$custom-light: #6d659c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c73",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 239.167,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33796,
    "c": 0.1193,
    "h": 277.3
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#2B2C73
secondary
#A5A455
accent
#D353D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2B2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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