#2B2C6D#2B2C6D

#2B2C6D is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.3% C 0.110 H 277.9°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#2B2C6D
RGBrgb(43, 44, 109)
HSLhsl(239, 43%, 30%)
HSVhsv(239, 61%, 43%)
CMYKcmyk(60.6%, 59.6%, 0%, 57.3%)
CIE-LABlab(21.65, 20.67, -38.10)
CIE-LCHlch(21.65, 43.35, 298.48°)
OKLaboklab(33.28% 0.0152 -0.1093)
OKLCHoklch(33.28% 0.11 277.9)
XYZxyz(4.6564, 3.4188, 14.8795)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C6D #6D6C2B
analogous
#2B4D6D #2B2C6D #4B2B6D
triadic
#2B2C6D #6D2B2C #2C6D2B
tetradic
#2B2C6D #6D2B4D #6D6C2B #2B6D4B
square
#2B2C6D #6D2B4D #6D6C2B #2B6D4B
split-complementary
#2B2C6D #6D4B2B #4D6D2B
monochromatic
#090916 #1A1A41 #2B2C6D #3C3E99 #5658BC

Accessibility & contrast

On white

12.47
#2B2C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B2C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C6D
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C6D#FFFFFF#000000##FFFFFF
##2B2C6D1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#033B48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2c6d;
/* rgb */ color: rgb(43, 44, 109);
/* oklch */ color: oklch(33.3% 0.110 277.9);
Tailwind
colors: {
  custom: {
    50: '#6b6597',
    500: '#2b2c6d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c6d;
$custom-light: #6b6597;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c6d",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 109
  },
  "hsl": {
    "h": 239.091,
    "s": 43.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33284,
    "c": 0.11034,
    "h": 277.9
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#2B2C6D
secondary
#9F9E55
accent
#D155D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2B2C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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