#2B2A4E#2B2A4E

#2B2A4E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.064 H 283.2°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#2B2A4E
RGBrgb(43, 42, 78)
HSLhsl(242, 30%, 24%)
HSVhsv(242, 46%, 31%)
CMYKcmyk(44.9%, 46.2%, 0%, 69.4%)
CIE-LABlab(18.88, 11.07, -22.07)
CIE-LCHlch(18.88, 24.69, 296.65°)
OKLaboklab(30.5% 0.0146 -0.0622)
OKLCHoklch(30.5% 0.064 283.2)
XYZxyz(3.1990, 2.7195, 7.5626)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A4E #4D4E2A
analogous
#2A3B4E #2B2A4E #3D2A4E
triadic
#2B2A4E #4E2B2A #2A4E2B
tetradic
#2B2A4E #4E2A3B #4D4E2A #2A4E3D
square
#2B2A4E #4E2A3B #4D4E2A #2A4E3D
split-complementary
#2B2A4E #4E3D2A #3B4E2A
monochromatic
#0B0B14 #151526 #2B2A4E #413F76 #57559E

Accessibility & contrast

On white

13.60
#2B2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2B2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A4E
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A4E#FFFFFF#000000##FFFFFF
##2B2A4E1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4F
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#213138
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b2a4e;
/* rgb */ color: rgb(43, 42, 78);
/* oklch */ color: oklch(30.5% 0.064 283.2);
Tailwind
colors: {
  custom: {
    50: '#666380',
    500: '#2b2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a4e;
$custom-light: #666380;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a4e",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 241.667,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30502,
    "c": 0.06391,
    "h": 283.2
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#2B2A4E
secondary
#7F8054
accent
#C662C3
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2B2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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