#2B2E7E#2B2E7E

#2B2E7E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.133 H 275.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#2B2E7E
RGBrgb(43, 46, 126)
HSLhsl(238, 49%, 33%)
HSVhsv(238, 66%, 49%)
CMYKcmyk(65.9%, 63.5%, 0%, 50.6%)
CIE-LABlab(23.58, 25.52, -45.82)
CIE-LCHlch(23.58, 52.45, 299.12°)
OKLaboklab(35.16% 0.0129 -0.1319)
OKLCHoklch(35.16% 0.133 275.6)
XYZxyz(5.7379, 3.9735, 20.1992)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E7E #7E7B2B
analogous
#2B577E #2B2E7E #512B7E
triadic
#2B2E7E #7E2B2E #2E7E2B
tetradic
#2B2E7E #7E2B57 #7E7B2B #2B7E51
square
#2B2E7E #7E2B57 #7E7B2B #2B7E51
split-complementary
#2B2E7E #7E512B #577E2B
monochromatic
#0C0D23 #1B1D50 #2B2E7E #3B3FAC #5C60C7

Accessibility & contrast

On white

11.70
#2B2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B2E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E7E
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E7E#FFFFFF#000000##FFFFFF
##2B2E7E1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2e7e;
/* rgb */ color: rgb(43, 46, 126);
/* oklch */ color: oklch(35.2% 0.133 275.6);
Tailwind
colors: {
  custom: {
    50: '#6f66a4',
    500: '#2b2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e7e;
$custom-light: #6f66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e7e",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 237.831,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35156,
    "c": 0.13257,
    "h": 275.6
  },
  "luminance": 0.03974
}

Semantic roles & 50–950 ramp

primary
#2B2E7E
secondary
#ADAA58
accent
#D44FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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