#2B299C#2B299C

#2B299C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.179 H 274.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2B299C
RGBrgb(43, 41, 156)
HSLhsl(241, 58%, 39%)
HSVhsv(241, 74%, 61%)
CMYKcmyk(72.4%, 73.7%, 0%, 38.8%)
CIE-LABlab(25.26, 39.34, -61.71)
CIE-LCHlch(25.26, 73.18, 302.52°)
OKLaboklab(37.24% 0.0129 -0.1784)
OKLCHoklch(37.24% 0.179 274.1)
XYZxyz(7.7880, 4.4990, 31.9040)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B299C #9A9C29
analogous
#29609C #2B299C #64299C
triadic
#2B299C #9C2B29 #299C2B
tetradic
#2B299C #9C2960 #9A9C29 #299C64
square
#2B299C #9C2960 #9A9C29 #299C64
split-complementary
#2B299C #9C6429 #609C29
monochromatic
#10103B #1E1C6C #2B299C #3A38CB #6A68D7

Accessibility & contrast

On white

11.05
#2B299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B299C
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B299C#FFFFFF#000000##FFFFFF
##2B299C1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b299c;
/* rgb */ color: rgb(43, 41, 156);
/* oklch */ color: oklch(37.2% 0.179 274.1);
Tailwind
colors: {
  custom: {
    50: '#7664ba',
    500: '#2b299c',
    950: '#000000',
  },
}
SCSS
$custom: #2b299c;
$custom-light: #7664ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b299c",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 241.043,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37237,
    "c": 0.17892,
    "h": 274.1
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#2B299C
secondary
#BCBE63
accent
#E246DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B299C

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

Preview Lab → · Contrast checker → · Palette generator →

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