#2B2BA0#2B2BA0

#2B2BA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.182 H 273.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2B2BA0
RGBrgb(43, 43, 160)
HSLhsl(240, 58%, 40%)
HSVhsv(240, 73%, 63%)
CMYKcmyk(73.1%, 73.1%, 0%, 37.3%)
CIE-LABlab(26.09, 39.52, -62.76)
CIE-LCHlch(26.09, 74.17, 302.20°)
OKLaboklab(37.96% 0.0112 -0.1815)
OKLCHoklch(37.96% 0.182 273.5)
XYZxyz(8.2032, 4.7786, 33.7409)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2BA0 #A0A02B
analogous
#2B66A0 #2B2BA0 #662BA0
triadic
#2B2BA0 #A02B2B #2BA02B
tetradic
#2B2BA0 #A02B66 #A0A02B #2BA066
square
#2B2BA0 #A02B66 #A0A02B #2BA066
split-complementary
#2B2BA0 #A0662B #66A02B
monochromatic
#111140 #1E1E70 #2B2BA0 #3D3DCB #6E6ED8

Accessibility & contrast

On white

10.74
#2B2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B2BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2BA0
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2BA0#FFFFFF#000000##FFFFFF
##2B2BA01.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b2ba0;
/* rgb */ color: rgb(43, 43, 160);
/* oklch */ color: oklch(38.0% 0.182 273.5);
Tailwind
colors: {
  custom: {
    50: '#7766bd',
    500: '#2b2ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ba0;
$custom-light: #7766bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ba0",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 240,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37958,
    "c": 0.18189,
    "h": 273.5
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#2B2BA0
secondary
#BFBF68
accent
#E147E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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