#2B2C99#2B2C99

#2B2C99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.172 H 273.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2B2C99
RGBrgb(43, 44, 153)
HSLhsl(239, 56%, 38%)
HSVhsv(239, 72%, 60%)
CMYKcmyk(71.9%, 71.2%, 0%, 40%)
CIE-LABlab(25.61, 36.50, -59.30)
CIE-LCHlch(25.61, 69.63, 301.61°)
OKLaboklab(37.4% 0.0117 -0.1714)
OKLCHoklch(37.4% 0.172 273.9)
XYZxyz(7.6448, 4.6141, 30.6185)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C99 #99982B
analogous
#2B6399 #2B2C99 #612B99
triadic
#2B2C99 #992B2C #2C992B
tetradic
#2B2C99 #992B63 #99982B #2B9961
square
#2B2C99 #992B63 #99982B #2B9961
split-complementary
#2B2C99 #99612B #63992B
monochromatic
#101139 #1E1E69 #2B2C99 #3A3BC8 #696AD5

Accessibility & contrast

On white

10.92
#2B2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2B2C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C99
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C99#FFFFFF#000000##FFFFFF
##2B2C991.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b2c99;
/* rgb */ color: rgb(43, 44, 153);
/* oklch */ color: oklch(37.4% 0.172 273.9);
Tailwind
colors: {
  custom: {
    50: '#7566b8',
    500: '#2b2c99',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c99;
$custom-light: #7566b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c99",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 239.455,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37395,
    "c": 0.17183,
    "h": 273.9
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#2B2C99
secondary
#BCBB64
accent
#DE48DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2B2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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