#2B2E7D#2B2E7D

#2B2E7D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.131 H 275.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2B2E7D
RGBrgb(43, 46, 125)
HSLhsl(238, 49%, 33%)
HSVhsv(238, 66%, 49%)
CMYKcmyk(65.6%, 63.2%, 0%, 51%)
CIE-LABlab(23.50, 25.16, -45.33)
CIE-LCHlch(23.50, 51.84, 299.03°)
OKLaboklab(35.07% 0.0129 -0.1305)
OKLCHoklch(35.07% 0.131 275.6)
XYZxyz(5.6737, 3.9478, 19.8611)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E7D #7D7A2B
analogous
#2B577D #2B2E7D #512B7D
triadic
#2B2E7D #7D2B2E #2E7D2B
tetradic
#2B2E7D #7D2B57 #7D7A2B #2B7D51
square
#2B2E7D #7D2B57 #7D7A2B #2B7D51
split-complementary
#2B2E7D #7D512B #577D2B
monochromatic
#0C0C22 #1B1D4F #2B2E7D #3B3FAB #5C60C7

Accessibility & contrast

On white

11.73
#2B2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2E7D
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E7D#FFFFFF#000000##FFFFFF
##2B2E7D1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2e7d;
/* rgb */ color: rgb(43, 46, 125);
/* oklch */ color: oklch(35.1% 0.131 275.6);
Tailwind
colors: {
  custom: {
    50: '#6f66a3',
    500: '#2b2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e7d;
$custom-light: #6f66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e7d",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 237.805,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35066,
    "c": 0.13114,
    "h": 275.6
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#2B2E7D
secondary
#ADAA57
accent
#D34FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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