#2B299F#2B299F

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

Color values

HEX#2B299F
RGBrgb(43, 41, 159)
HSLhsl(241, 59%, 39%)
HSVhsv(241, 74%, 62%)
CMYKcmyk(73%, 74.2%, 0%, 37.6%)
CIE-LABlab(25.57, 40.36, -63.02)
CIE-LCHlch(25.57, 74.84, 302.63°)
OKLaboklab(37.55% 0.0124 -0.1823)
OKLCHoklch(37.55% 0.183 273.9)
XYZxyz(8.0451, 4.6019, 33.2584)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B299F #9D9F29
analogous
#29629F #2B299F #66299F
triadic
#2B299F #9F2B29 #299F2B
tetradic
#2B299F #9F2962 #9D9F29 #299F66
square
#2B299F #9F2962 #9D9F29 #299F66
split-complementary
#2B299F #9F6629 #629F29
monochromatic
#11103E #1E1C6E #2B299F #3C39CC #6C6AD9

Accessibility & contrast

On white

10.93
#2B299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B299F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B299F#FFFFFF#000000##FFFFFF
##2B299F1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b299f;
/* rgb */ color: rgb(43, 41, 159);
/* oklch */ color: oklch(37.6% 0.183 273.9);
Tailwind
colors: {
  custom: {
    50: '#7764bd',
    500: '#2b299f',
    950: '#000000',
  },
}
SCSS
$custom: #2b299f;
$custom-light: #7764bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b299f",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 241.017,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37552,
    "c": 0.18271,
    "h": 273.9
  },
  "luminance": 0.04603
}

Semantic roles & 50–950 ramp

primary
#2B299F
secondary
#BDBF65
accent
#E246E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B299F

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

Preview Lab → · Contrast checker → · Palette generator →

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