#2B2A6D#2B2A6D

#2B2A6D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.113 H 278.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#2B2A6D
RGBrgb(43, 42, 109)
HSLhsl(241, 44%, 30%)
HSVhsv(241, 61%, 43%)
CMYKcmyk(60.6%, 61.5%, 0%, 57.3%)
CIE-LABlab(21.11, 22.05, -38.98)
CIE-LCHlch(21.11, 44.79, 299.50°)
OKLaboklab(32.88% 0.0174 -0.1119)
OKLCHoklch(32.88% 0.113 278.8)
XYZxyz(4.5837, 3.2733, 14.8553)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A6D #6C6D2A
analogous
#2A4A6D #2B2A6D #4D2A6D
triadic
#2B2A6D #6D2B2A #2A6D2B
tetradic
#2B2A6D #6D2A4A #6C6D2A #2A6D4D
square
#2B2A6D #6D2A4A #6C6D2A #2A6D4D
split-complementary
#2B2A6D #6D4D2A #4A6D2A
monochromatic
#090916 #1A1941 #2B2A6D #3C3B99 #5654BD

Accessibility & contrast

On white

12.69
#2B2A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B2A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A6D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A6D#FFFFFF#000000##FFFFFF
##2B2A6D1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#043A47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2a6d;
/* rgb */ color: rgb(43, 42, 109);
/* oklch */ color: oklch(32.9% 0.113 278.8);
Tailwind
colors: {
  custom: {
    50: '#6c6397',
    500: '#2b2a6d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a6d;
$custom-light: #6c6397;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a6d",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 240.896,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32882,
    "c": 0.11323,
    "h": 278.8
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#2B2A6D
secondary
#9E9F54
accent
#D454D2
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2B2A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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