#2B2BA9#2B2BA9

#2B2BA9 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.193 H 272.8°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2B2BA9
RGBrgb(43, 43, 169)
HSLhsl(240, 59%, 42%)
HSVhsv(240, 75%, 66%)
CMYKcmyk(74.6%, 74.6%, 0%, 33.7%)
CIE-LABlab(27.03, 42.58, -66.67)
CIE-LCHlch(27.03, 79.10, 302.56°)
OKLaboklab(38.91% 0.0096 -0.1929)
OKLCHoklch(38.91% 0.193 272.8)
XYZxyz(9.0192, 5.1050, 38.0385)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2BA9 #A9A92B
analogous
#2B6AA9 #2B2BA9 #6A2BA9
triadic
#2B2BA9 #A92B2B #2BA92B
tetradic
#2B2BA9 #A92B6A #A9A92B #2BA96A
square
#2B2BA9 #A92B6A #A9A92B #2BA96A
split-complementary
#2B2BA9 #A96A2B #6AA92B
monochromatic
#121247 #1F1F78 #2B2BA9 #4242CF #7373DB

Accessibility & contrast

On white

10.39
#2B2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2BA9
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2BA9#FFFFFF#000000##FFFFFF
##2B2BA91.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b2ba9;
/* rgb */ color: rgb(43, 43, 169);
/* oklch */ color: oklch(38.9% 0.193 272.8);
Tailwind
colors: {
  custom: {
    50: '#7966c4',
    500: '#2b2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ba9;
$custom-light: #7966c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ba9",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 240,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38905,
    "c": 0.19315,
    "h": 272.8
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#2B2BA9
secondary
#C3C36D
accent
#E345E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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