#2B2E9D#2B2E9D

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

Color values

HEX#2B2E9D
RGBrgb(43, 46, 157)
HSLhsl(238, 57%, 39%)
HSVhsv(238, 73%, 62%)
CMYKcmyk(72.6%, 70.7%, 0%, 38.4%)
CIE-LABlab(26.45, 36.66, -60.35)
CIE-LCHlch(26.45, 70.61, 301.28°)
OKLaboklab(38.12% 0.0099 -0.1745)
OKLCHoklch(38.12% 0.175 273.2)
XYZxyz(8.0570, 4.9011, 32.4131)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E9D #9D9A2B
analogous
#2B679D #2B2E9D #612B9D
triadic
#2B2E9D #9D2B2E #2E9D2B
tetradic
#2B2E9D #9D2B67 #9D9A2B #2B9D61
square
#2B2E9D #9D2B67 #9D9A2B #2B9D61
split-complementary
#2B2E9D #9D612B #679D2B
monochromatic
#11123D #1E206D #2B2E9D #3C3FCA #6C6FD7

Accessibility & contrast

On white

10.60
#2B2E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B2E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E9D
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E9D#FFFFFF#000000##FFFFFF
##2B2E9D1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2e9d;
/* rgb */ color: rgb(43, 46, 157);
/* oklch */ color: oklch(38.1% 0.175 273.2);
Tailwind
colors: {
  custom: {
    50: '#7667bb',
    500: '#2b2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e9d;
$custom-light: #7667bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e9d",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 238.421,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38123,
    "c": 0.17479,
    "h": 273.2
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#2B2E9D
secondary
#BDBB66
accent
#DC48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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