#2B2C66#2B2C66

#2B2C66 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.100 H 278.6°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#2B2C66
RGBrgb(43, 44, 102)
HSLhsl(239, 41%, 28%)
HSVhsv(239, 58%, 40%)
CMYKcmyk(57.8%, 56.9%, 0%, 60%)
CIE-LABlab(21.11, 18.13, -34.43)
CIE-LCHlch(21.11, 38.91, 297.77°)
OKLaboklab(32.71% 0.0149 -0.0985)
OKLCHoklch(32.71% 0.1 278.6)
XYZxyz(4.2945, 3.2740, 12.9734)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C66 #66652B
analogous
#2B4966 #2B2C66 #472B66
triadic
#2B2C66 #662B2C #2C662B
tetradic
#2B2C66 #662B49 #66652B #2B6647
square
#2B2C66 #662B49 #66652B #2B6647
split-complementary
#2B2C66 #66472B #49662B
monochromatic
#090916 #19193B #2B2C66 #3D3F91 #5456B7

Accessibility & contrast

On white

12.69
#2B2C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B2C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C66
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C66#FFFFFF#000000##FFFFFF
##2B2C661.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3568
Deuteranopia (green-blind)
#013065
Tritanopia (blue-blind)
#0F3944
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2c66;
/* rgb */ color: rgb(43, 44, 102);
/* oklch */ color: oklch(32.7% 0.100 278.6);
Tailwind
colors: {
  custom: {
    50: '#6a6592',
    500: '#2b2c66',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c66;
$custom-light: #6a6592;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c66",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 102
  },
  "hsl": {
    "h": 238.983,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3271,
    "c": 0.0996,
    "h": 278.6
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#2B2C66
secondary
#989755
accent
#CE57D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2B2C66

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

Preview Lab → · Contrast checker → · Palette generator →

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