#2B2E9E#2B2E9E

#2B2E9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.176 H 273.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2B2E9E
RGBrgb(43, 46, 158)
HSLhsl(238, 57%, 39%)
HSVhsv(238, 73%, 62%)
CMYKcmyk(72.8%, 70.9%, 0%, 38%)
CIE-LABlab(26.55, 37.01, -60.80)
CIE-LCHlch(26.55, 71.18, 301.33°)
OKLaboklab(38.22% 0.0097 -0.1758)
OKLCHoklch(38.22% 0.176 273.2)
XYZxyz(8.1427, 4.9354, 32.8646)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E9E #9E9B2B
analogous
#2B689E #2B2E9E #622B9E
triadic
#2B2E9E #9E2B2E #2E9E2B
tetradic
#2B2E9E #9E2B68 #9E9B2B #2B9E62
square
#2B2E9E #9E2B68 #9E9B2B #2B9E62
split-complementary
#2B2E9E #9E622B #689E2B
monochromatic
#11123E #1E206E #2B2E9E #3C40CA #6C6FD7

Accessibility & contrast

On white

10.57
#2B2E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B2E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E9E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E9E#FFFFFF#000000##FFFFFF
##2B2E9E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b2e9e;
/* rgb */ color: rgb(43, 46, 158);
/* oklch */ color: oklch(38.2% 0.176 273.2);
Tailwind
colors: {
  custom: {
    50: '#7667bc',
    500: '#2b2e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e9e;
$custom-light: #7667bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e9e",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 238.435,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38224,
    "c": 0.17608,
    "h": 273.2
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#2B2E9E
secondary
#BEBC67
accent
#DC47E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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