#2B3366#2B3366

#2B3366 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.089 H 274.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2B3366
RGBrgb(43, 51, 102)
HSLhsl(232, 41%, 28%)
HSVhsv(232, 58%, 40%)
CMYKcmyk(57.8%, 50%, 0%, 60%)
CIE-LABlab(23.14, 13.23, -31.18)
CIE-LCHlch(23.14, 33.87, 292.99°)
OKLaboklab(34.24% 0.0063 -0.0888)
OKLCHoklch(34.24% 0.089 274)
XYZxyz(4.5776, 3.8402, 13.0678)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3366 #665E2B
analogous
#2B5066 #2B3366 #402B66
triadic
#2B3366 #662B33 #33662B
tetradic
#2B3366 #662B50 #665E2B #2B6640
square
#2B3366 #662B50 #665E2B #2B6640
split-complementary
#2B3366 #66402B #50662B
monochromatic
#090B16 #191D3B #2B3366 #3D4991 #5462B7

Accessibility & contrast

On white

11.88
#2B3366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B3366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3366
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3366#FFFFFF#000000##FFFFFF
##2B33661.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A68
Deuteranopia (green-blind)
#143565
Tritanopia (blue-blind)
#0D3E47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3366;
/* rgb */ color: rgb(43, 51, 102);
/* oklch */ color: oklch(34.2% 0.089 274.0);
Tailwind
colors: {
  custom: {
    50: '#6a6a92',
    500: '#2b3366',
    950: '#000000',
  },
}
SCSS
$custom: #2b3366;
$custom-light: #6a6a92;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3366",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 231.864,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34238,
    "c": 0.08906,
    "h": 274
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#2B3366
secondary
#988F55
accent
#C057D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2B3366

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

Preview Lab → · Contrast checker → · Palette generator →

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