#2B2B60#2B2B60

#2B2B60 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.092 H 279.9°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#2B2B60
RGBrgb(43, 43, 96)
HSLhsl(240, 38%, 27%)
HSVhsv(240, 55%, 38%)
CMYKcmyk(55.2%, 55.2%, 0%, 62.4%)
CIE-LABlab(20.38, 16.67, -31.67)
CIE-LCHlch(20.38, 35.79, 297.76°)
OKLaboklab(32.03% 0.0158 -0.0904)
OKLCHoklch(32.03% 0.092 279.9)
XYZxyz(3.9708, 3.0856, 11.4504)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B60 #60602B
analogous
#2B4660 #2B2B60 #462B60
triadic
#2B2B60 #602B2B #2B602B
tetradic
#2B2B60 #602B46 #60602B #2B6046
square
#2B2B60 #602B46 #60602B #2B6046
split-complementary
#2B2B60 #60462B #46602B
monochromatic
#090915 #181836 #2B2B60 #3E3E8A #5353B2

Accessibility & contrast

On white

12.99
#2B2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B60
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B60#FFFFFF#000000##FFFFFF
##2B2B601.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103362
Deuteranopia (green-blind)
#0A2F5F
Tritanopia (blue-blind)
#153741
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b2b60;
/* rgb */ color: rgb(43, 43, 96);
/* oklch */ color: oklch(32.0% 0.092 279.9);
Tailwind
colors: {
  custom: {
    50: '#69648d',
    500: '#2b2b60',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b60;
$custom-light: #69648d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b60",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 240,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32025,
    "c": 0.09173,
    "h": 279.9
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#2B2B60
secondary
#929255
accent
#CE5ACE
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2B2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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