#2B2E8A#2B2E8A

#2B2E8A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.149 H 274.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2B2E8A
RGBrgb(43, 46, 138)
HSLhsl(238, 52%, 35%)
HSVhsv(238, 69%, 54%)
CMYKcmyk(68.8%, 66.7%, 0%, 45.9%)
CIE-LABlab(24.65, 29.89, -51.61)
CIE-LCHlch(24.65, 59.64, 300.08°)
OKLaboklab(36.26% 0.0121 -0.1489)
OKLCHoklch(36.26% 0.149 274.6)
XYZxyz(6.5592, 4.3020, 24.5245)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E8A #8A872B
analogous
#2B5D8A #2B2E8A #572B8A
triadic
#2B2E8A #8A2B2E #2E8A2B
tetradic
#2B2E8A #8A2B5D #8A872B #2B8A57
square
#2B2E8A #8A2B5D #8A872B #2B8A57
split-complementary
#2B2E8A #8A572B #5D8A2B
monochromatic
#0E0F2D #1C1E5B #2B2E8A #3A3EB9 #6165CE

Accessibility & contrast

On white

11.29
#2B2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E8A
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E8A#FFFFFF#000000##FFFFFF
##2B2E8A1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2e8a;
/* rgb */ color: rgb(43, 46, 138);
/* oklch */ color: oklch(36.3% 0.149 274.6);
Tailwind
colors: {
  custom: {
    50: '#7167ad',
    500: '#2b2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e8a;
$custom-light: #7167ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e8a",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 238.105,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36263,
    "c": 0.14942,
    "h": 274.6
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

primary
#2B2E8A
secondary
#B4B15D
accent
#D74CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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