#2B2CA0#2B2CA0

#2B2CA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.181 H 273.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2B2CA0
RGBrgb(43, 44, 160)
HSLhsl(239, 58%, 40%)
HSVhsv(239, 73%, 63%)
CMYKcmyk(73.1%, 72.5%, 0%, 37.3%)
CIE-LABlab(26.31, 38.92, -62.41)
CIE-LCHlch(26.31, 73.55, 301.95°)
OKLaboklab(38.11% 0.0106 -0.1805)
OKLCHoklch(38.11% 0.181 273.4)
XYZxyz(8.2400, 4.8522, 33.7532)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CA0 #A09F2B
analogous
#2B67A0 #2B2CA0 #642BA0
triadic
#2B2CA0 #A02B2C #2CA02B
tetradic
#2B2CA0 #A02B67 #A09F2B #2BA064
square
#2B2CA0 #A02B67 #A09F2B #2BA064
split-complementary
#2B2CA0 #A0642B #67A02B
monochromatic
#111140 #1E1F70 #2B2CA0 #3D3ECB #6E6ED8

Accessibility & contrast

On white

10.66
#2B2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CA0
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CA0#FFFFFF#000000##FFFFFF
##2B2CA01.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b2ca0;
/* rgb */ color: rgb(43, 44, 160);
/* oklch */ color: oklch(38.1% 0.181 273.4);
Tailwind
colors: {
  custom: {
    50: '#7766bd',
    500: '#2b2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ca0;
$custom-light: #7766bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ca0",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 239.487,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38112,
    "c": 0.18083,
    "h": 273.4
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#2B2CA0
secondary
#BFBE68
accent
#E047E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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