#2B2D7A#2B2D7A

#2B2D7A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.128 H 276.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#2B2D7A
RGBrgb(43, 45, 122)
HSLhsl(238, 48%, 32%)
HSVhsv(238, 65%, 48%)
CMYKcmyk(64.8%, 63.1%, 0%, 52.2%)
CIE-LABlab(22.98, 24.74, -44.26)
CIE-LCHlch(22.98, 50.71, 299.20°)
OKLaboklab(34.61% 0.014 -0.1274)
OKLCHoklch(34.61% 0.128 276.3)
XYZxyz(5.4464, 3.7951, 18.8541)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D7A #7A782B
analogous
#2B557A #2B2D7A #512B7A
triadic
#2B2D7A #7A2B2D #2D7A2B
tetradic
#2B2D7A #7A2B55 #7A782B #2B7A51
square
#2B2D7A #7A2B55 #7A782B #2B7A51
split-complementary
#2B2D7A #7A512B #557A2B
monochromatic
#0B0C1F #1B1C4D #2B2D7A #3B3EA7 #5A5DC5

Accessibility & contrast

On white

11.94
#2B2D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B2D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D7A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D7A#FFFFFF#000000##FFFFFF
##2B2D7A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2d7a;
/* rgb */ color: rgb(43, 45, 122);
/* oklch */ color: oklch(34.6% 0.128 276.3);
Tailwind
colors: {
  custom: {
    50: '#6e66a1',
    500: '#2b2d7a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d7a;
$custom-light: #6e66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d7a",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 238.481,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34606,
    "c": 0.12815,
    "h": 276.3
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#2B2D7A
secondary
#ABA956
accent
#D450D7
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2B2D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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