#2B2A6E#2B2A6E

#2B2A6E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.0% C 0.115 H 278.7°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#2B2A6E
RGBrgb(43, 42, 110)
HSLhsl(241, 45%, 30%)
HSVhsv(241, 62%, 43%)
CMYKcmyk(60.9%, 61.8%, 0%, 56.9%)
CIE-LABlab(21.19, 22.41, -39.50)
CIE-LCHlch(21.19, 45.41, 299.57°)
OKLaboklab(32.97% 0.0174 -0.1134)
OKLCHoklch(32.97% 0.115 278.7)
XYZxyz(4.6378, 3.2950, 15.1404)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A6E #6D6E2A
analogous
#2A4B6E #2B2A6E #4D2A6E
triadic
#2B2A6E #6E2B2A #2A6E2B
tetradic
#2B2A6E #6E2A4B #6D6E2A #2A6E4D
square
#2B2A6E #6E2A4B #6D6E2A #2A6E4D
split-complementary
#2B2A6E #6E4D2A #4B6E2A
monochromatic
#090816 #1A1942 #2B2A6E #3C3B9A #5655BE

Accessibility & contrast

On white

12.66
#2B2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2B2A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A6E
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A6E#FFFFFF#000000##FFFFFF
##2B2A6E1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#023A47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2a6e;
/* rgb */ color: rgb(43, 42, 110);
/* oklch */ color: oklch(33.0% 0.115 278.7);
Tailwind
colors: {
  custom: {
    50: '#6c6398',
    500: '#2b2a6e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a6e;
$custom-light: #6c6398;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a6e",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 240.882,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32968,
    "c": 0.11472,
    "h": 278.7
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#2B2A6E
secondary
#9FA054
accent
#D453D3
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2B2A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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