#2B376A#2B376A

#2B376A is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.090 H 271.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2B376A
RGBrgb(43, 55, 106)
HSLhsl(229, 42%, 29%)
HSVhsv(229, 59%, 42%)
CMYKcmyk(59.4%, 48.1%, 0%, 58.4%)
CIE-LABlab(24.60, 11.90, -31.43)
CIE-LCHlch(24.60, 33.61, 290.74°)
OKLaboklab(35.44% 0.0019 -0.0895)
OKLCHoklch(35.44% 0.09 271.2)
XYZxyz(4.9631, 4.2862, 14.1987)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B376A #6A5E2B
analogous
#2B576A #2B376A #3F2B6A
triadic
#2B376A #6A2B37 #376A2B
tetradic
#2B376A #6A2B57 #6A5E2B #2B6A3F
square
#2B376A #6A2B57 #6A5E2B #2B6A3F
split-complementary
#2B376A #6A3F2B #576A2B
monochromatic
#090B16 #19203E #2B376A #3D4E96 #5568BA

Accessibility & contrast

On white

11.31
#2B376A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B376A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B376A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B376A#FFFFFF#000000##FFFFFF
##2B376A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203D6C
Deuteranopia (green-blind)
#183869
Tritanopia (blue-blind)
#05424B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b376a;
/* rgb */ color: rgb(43, 55, 106);
/* oklch */ color: oklch(35.4% 0.090 271.2);
Tailwind
colors: {
  custom: {
    50: '#6a6d95',
    500: '#2b376a',
    950: '#000000',
  },
}
SCSS
$custom: #2b376a;
$custom-light: #6a6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#2b376a",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 106
  },
  "hsl": {
    "h": 228.571,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35435,
    "c": 0.08955,
    "h": 271.2
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#2B376A
secondary
#9C8E55
accent
#BA56D2
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2B376A

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

Preview Lab → · Contrast checker → · Palette generator →

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