#2B2C7E#2B2C7E

#2B2C7E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.135 H 276.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2B2C7E
RGBrgb(43, 44, 126)
HSLhsl(239, 49%, 33%)
HSVhsv(239, 66%, 49%)
CMYKcmyk(65.9%, 65.1%, 0%, 50.6%)
CIE-LABlab(23.07, 26.87, -46.66)
CIE-LCHlch(23.07, 53.84, 299.93°)
OKLaboklab(34.78% 0.0147 -0.1344)
OKLCHoklch(34.78% 0.135 276.2)
XYZxyz(5.6616, 3.8208, 20.1738)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C7E #7E7D2B
analogous
#2B557E #2B2C7E #532B7E
triadic
#2B2C7E #7E2B2C #2C7E2B
tetradic
#2B2C7E #7E2B55 #7E7D2B #2B7E53
square
#2B2C7E #7E2B55 #7E7D2B #2B7E53
split-complementary
#2B2C7E #7E532B #557E2B
monochromatic
#0C0C23 #1B1C50 #2B2C7E #3B3CAC #5C5DC7

Accessibility & contrast

On white

11.90
#2B2C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B2C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C7E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C7E#FFFFFF#000000##FFFFFF
##2B2C7E1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2c7e;
/* rgb */ color: rgb(43, 44, 126);
/* oklch */ color: oklch(34.8% 0.135 276.2);
Tailwind
colors: {
  custom: {
    50: '#6f65a4',
    500: '#2b2c7e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c7e;
$custom-light: #6f65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c7e",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 239.277,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34779,
    "c": 0.13522,
    "h": 276.2
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#2B2C7E
secondary
#ADAC58
accent
#D74FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2B2C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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