#2B2E8D#2B2E8D

#2B2E8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.154 H 274.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2B2E8D
RGBrgb(43, 46, 141)
HSLhsl(238, 53%, 36%)
HSVhsv(238, 70%, 55%)
CMYKcmyk(69.5%, 67.4%, 0%, 44.7%)
CIE-LABlab(24.92, 30.97, -53.02)
CIE-LCHlch(24.92, 61.41, 300.29°)
OKLaboklab(36.55% 0.0118 -0.1531)
OKLCHoklch(36.55% 0.154 274.4)
XYZxyz(6.7794, 4.3900, 25.6842)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E8D #8D8A2B
analogous
#2B5F8D #2B2E8D #592B8D
triadic
#2B2E8D #8D2B2E #2E8D2B
tetradic
#2B2E8D #8D2B5F #8D8A2B #2B8D59
square
#2B2E8D #8D2B5F #8D8A2B #2B8D59
split-complementary
#2B2E8D #8D592B #5F8D2B
monochromatic
#0E0F2F #1D1F5E #2B2E8D #393DBC #6366CF

Accessibility & contrast

On white

11.18
#2B2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E8D
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E8D#FFFFFF#000000##FFFFFF
##2B2E8D1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2e8d;
/* rgb */ color: rgb(43, 46, 141);
/* oklch */ color: oklch(36.5% 0.154 274.4);
Tailwind
colors: {
  custom: {
    50: '#7267af',
    500: '#2b2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e8d;
$custom-light: #7267af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e8d",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 238.163,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36549,
    "c": 0.15353,
    "h": 274.4
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#2B2E8D
secondary
#B6B35E
accent
#D84BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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