#2B2E9A#2B2E9A

#2B2E9A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.171 H 273.4°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#2B2E9A
RGBrgb(43, 46, 154)
HSLhsl(238, 56%, 39%)
HSVhsv(238, 72%, 60%)
CMYKcmyk(72.1%, 70.1%, 0%, 39.6%)
CIE-LABlab(26.16, 35.61, -59.00)
CIE-LCHlch(26.16, 68.91, 301.11°)
OKLaboklab(37.82% 0.0103 -0.1706)
OKLCHoklch(37.82% 0.171 273.4)
XYZxyz(7.8040, 4.7999, 31.0808)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E9A #9A972B
analogous
#2B659A #2B2E9A #5F2B9A
triadic
#2B2E9A #9A2B2E #2E9A2B
tetradic
#2B2E9A #9A2B65 #9A972B #2B9A5F
square
#2B2E9A #9A2B65 #9A972B #2B9A5F
split-complementary
#2B2E9A #9A5F2B #659A2B
monochromatic
#10113A #1E206A #2B2E9A #3A3EC8 #6A6DD5

Accessibility & contrast

On white

10.71
#2B2E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B2E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E9A
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E9A#FFFFFF#000000##FFFFFF
##2B2E9A1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b2e9a;
/* rgb */ color: rgb(43, 46, 154);
/* oklch */ color: oklch(37.8% 0.171 273.4);
Tailwind
colors: {
  custom: {
    50: '#7567b9',
    500: '#2b2e9a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e9a;
$custom-light: #7567b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e9a",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 238.378,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37822,
    "c": 0.17088,
    "h": 273.4
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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