#2B2D8E#2B2D8E

#2B2D8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.156 H 274.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2B2D8E
RGBrgb(43, 45, 142)
HSLhsl(239, 54%, 36%)
HSVhsv(239, 70%, 56%)
CMYKcmyk(69.7%, 68.3%, 0%, 44.3%)
CIE-LABlab(24.77, 31.98, -53.88)
CIE-LCHlch(24.77, 62.66, 300.69°)
OKLaboklab(36.47% 0.0124 -0.1556)
OKLCHoklch(36.47% 0.156 274.6)
XYZxyz(6.8155, 4.3427, 26.0650)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D8E #8E8C2B
analogous
#2B5F8E #2B2D8E #5B2B8E
triadic
#2B2D8E #8E2B2D #2D8E2B
tetradic
#2B2D8E #8E2B5F #8E8C2B #2B8E5B
square
#2B2D8E #8E2B5F #8E8C2B #2B8E5B
split-complementary
#2B2D8E #8E5B2B #5F8E2B
monochromatic
#0F0F30 #1D1E5F #2B2D8E #393CBD #6366D0

Accessibility & contrast

On white

11.24
#2B2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B2D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D8E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D8E#FFFFFF#000000##FFFFFF
##2B2D8E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2d8e;
/* rgb */ color: rgb(43, 45, 142);
/* oklch */ color: oklch(36.5% 0.156 274.6);
Tailwind
colors: {
  custom: {
    50: '#7266b0',
    500: '#2b2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d8e;
$custom-light: #7266b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d8e",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 238.788,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3647,
    "c": 0.15609,
    "h": 274.6
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#2B2D8E
secondary
#B6B45F
accent
#DA4BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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