#2B2C9C#2B2C9C

#2B2C9C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.176 H 273.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#2B2C9C
RGBrgb(43, 44, 156)
HSLhsl(239, 57%, 39%)
HSVhsv(239, 72%, 61%)
CMYKcmyk(72.4%, 71.8%, 0%, 38.8%)
CIE-LABlab(25.91, 37.54, -60.64)
CIE-LCHlch(25.91, 71.32, 301.76°)
OKLaboklab(37.7% 0.0112 -0.1753)
OKLCHoklch(37.7% 0.176 273.7)
XYZxyz(7.8957, 4.7145, 31.9399)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C9C #9C9B2B
analogous
#2B659C #2B2C9C #632B9C
triadic
#2B2C9C #9C2B2C #2C9C2B
tetradic
#2B2C9C #9C2B65 #9C9B2B #2B9C63
square
#2B2C9C #9C2B65 #9C9B2B #2B9C63
split-complementary
#2B2C9C #9C632B #659C2B
monochromatic
#11113C #1E1E6C #2B2C9C #3B3CC9 #6B6CD6

Accessibility & contrast

On white

10.81
#2B2C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B2C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C9C
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C9C#FFFFFF#000000##FFFFFF
##2B2C9C1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b2c9c;
/* rgb */ color: rgb(43, 44, 156);
/* oklch */ color: oklch(37.7% 0.176 273.7);
Tailwind
colors: {
  custom: {
    50: '#7666ba',
    500: '#2b2c9c',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c9c;
$custom-light: #7666ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c9c",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 239.469,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.377,
    "c": 0.17571,
    "h": 273.7
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#2B2C9C
secondary
#BDBC66
accent
#DF48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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