#2B299E#2B299E

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

Color values

HEX#2B299E
RGBrgb(43, 41, 158)
HSLhsl(241, 59%, 39%)
HSVhsv(241, 74%, 62%)
CMYKcmyk(72.8%, 74.1%, 0%, 38%)
CIE-LABlab(25.46, 40.02, -62.58)
CIE-LCHlch(25.46, 74.29, 302.60°)
OKLaboklab(37.45% 0.0126 -0.181)
OKLCHoklch(37.45% 0.181 274)
XYZxyz(7.9587, 4.5673, 32.8033)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B299E #9C9E29
analogous
#29629E #2B299E #66299E
triadic
#2B299E #9E2B29 #299E2B
tetradic
#2B299E #9E2962 #9C9E29 #299E66
square
#2B299E #9E2962 #9C9E29 #299E66
split-complementary
#2B299E #9E6629 #629E29
monochromatic
#11103D #1E1C6D #2B299E #3B39CC #6B69D8

Accessibility & contrast

On white

10.97
#2B299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B299E
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B299E#FFFFFF#000000##FFFFFF
##2B299E1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b299e;
/* rgb */ color: rgb(43, 41, 158);
/* oklch */ color: oklch(37.4% 0.181 274.0);
Tailwind
colors: {
  custom: {
    50: '#7764bc',
    500: '#2b299e',
    950: '#000000',
  },
}
SCSS
$custom: #2b299e;
$custom-light: #7764bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b299e",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 241.026,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37447,
    "c": 0.18145,
    "h": 274
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#2B299E
secondary
#BDBF64
accent
#E246DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B299E

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

Preview Lab → · Contrast checker → · Palette generator →

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