#2B2E72#2B2E72

#2B2E72 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.115 H 276.5°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#2B2E72
RGBrgb(43, 46, 114)
HSLhsl(237, 45%, 31%)
HSVhsv(237, 62%, 45%)
CMYKcmyk(62.3%, 59.6%, 0%, 55.3%)
CIE-LABlab(22.59, 21.12, -39.80)
CIE-LCHlch(22.59, 45.05, 297.96°)
OKLaboklab(34.11% 0.0131 -0.1142)
OKLCHoklch(34.11% 0.115 276.5)
XYZxyz(5.0095, 3.6821, 16.3631)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E72 #726F2B
analogous
#2B5172 #2B2E72 #4B2B72
triadic
#2B2E72 #722B2E #2E722B
tetradic
#2B2E72 #722B51 #726F2B #2B724B
square
#2B2E72 #722B51 #726F2B #2B724B
split-complementary
#2B2E72 #724B2B #51722B
monochromatic
#090A19 #1A1C46 #2B2E72 #3C409E #585CC0

Accessibility & contrast

On white

12.09
#2B2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B2E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E72
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E72#FFFFFF#000000##FFFFFF
##2B2E721.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2e72;
/* rgb */ color: rgb(43, 46, 114);
/* oklch */ color: oklch(34.1% 0.115 276.5);
Tailwind
colors: {
  custom: {
    50: '#6c669b',
    500: '#2b2e72',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e72;
$custom-light: #6c669b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e72",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 237.465,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3411,
    "c": 0.11498,
    "h": 276.5
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#2B2E72
secondary
#A4A055
accent
#CF53D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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