#2B2C74#2B2C74

#2B2C74 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.121 H 277.2°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#2B2C74
RGBrgb(43, 44, 116)
HSLhsl(239, 46%, 31%)
HSVhsv(239, 63%, 45%)
CMYKcmyk(62.9%, 62.1%, 0%, 54.5%)
CIE-LABlab(22.22, 23.23, -41.69)
CIE-LCHlch(22.22, 47.72, 299.13°)
OKLaboklab(33.88% 0.0151 -0.1198)
OKLCHoklch(33.88% 0.121 277.2)
XYZxyz(5.0483, 3.5755, 16.9437)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C74 #74732B
analogous
#2B5074 #2B2C74 #4E2B74
triadic
#2B2C74 #742B2C #2C742B
tetradic
#2B2C74 #742B50 #74732B #2B744E
square
#2B2C74 #742B50 #74732B #2B744E
split-complementary
#2B2C74 #744E2B #50742B
monochromatic
#0A0A1B #1A1B47 #2B2C74 #3C3DA1 #585AC1

Accessibility & contrast

On white

12.24
#2B2C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2B2C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C74
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C74#FFFFFF#000000##FFFFFF
##2B2C741.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2c74;
/* rgb */ color: rgb(43, 44, 116);
/* oklch */ color: oklch(33.9% 0.121 277.2);
Tailwind
colors: {
  custom: {
    50: '#6d659d',
    500: '#2b2c74',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c74;
$custom-light: #6d659d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c74",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 239.178,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33883,
    "c": 0.12077,
    "h": 277.2
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#2B2C74
secondary
#A6A555
accent
#D452D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2B2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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