#2B2D66#2B2D66

#2B2D66 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.098 H 278.0°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2B2D66
RGBrgb(43, 45, 102)
HSLhsl(238, 41%, 28%)
HSVhsv(238, 58%, 40%)
CMYKcmyk(57.8%, 55.9%, 0%, 60%)
CIE-LABlab(21.39, 17.43, -33.98)
CIE-LCHlch(21.39, 38.19, 297.16°)
OKLaboklab(32.92% 0.0137 -0.0971)
OKLCHoklch(32.92% 0.098 278)
XYZxyz(4.3322, 3.3494, 12.9860)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D66 #66642B
analogous
#2B4A66 #2B2D66 #462B66
triadic
#2B2D66 #662B2D #2D662B
tetradic
#2B2D66 #662B4A #66642B #2B6646
square
#2B2D66 #662B4A #66642B #2B6646
split-complementary
#2B2D66 #66462B #4A662B
monochromatic
#090916 #191A3B #2B2D66 #3D4091 #5458B7

Accessibility & contrast

On white

12.57
#2B2D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2B2D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D66
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D66#FFFFFF#000000##FFFFFF
##2B2D661.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3668
Deuteranopia (green-blind)
#043165
Tritanopia (blue-blind)
#0E3A44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2d66;
/* rgb */ color: rgb(43, 45, 102);
/* oklch */ color: oklch(32.9% 0.098 278.0);
Tailwind
colors: {
  custom: {
    50: '#6a6592',
    500: '#2b2d66',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d66;
$custom-light: #6a6592;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d66",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 237.966,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32922,
    "c": 0.09809,
    "h": 278
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#2B2D66
secondary
#989655
accent
#CC57D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2B2D66

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

Preview Lab → · Contrast checker → · Palette generator →

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