#2B2E8B#2B2E8B

#2B2E8B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.151 H 274.5°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2B2E8B
RGBrgb(43, 46, 139)
HSLhsl(238, 53%, 36%)
HSVhsv(238, 69%, 55%)
CMYKcmyk(69.1%, 66.9%, 0%, 45.5%)
CIE-LABlab(24.74, 30.25, -52.08)
CIE-LCHlch(24.74, 60.23, 300.15°)
OKLaboklab(36.36% 0.012 -0.1503)
OKLCHoklch(36.36% 0.151 274.5)
XYZxyz(6.6319, 4.3311, 24.9076)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E8B #8B882B
analogous
#2B5E8B #2B2E8B #582B8B
triadic
#2B2E8B #8B2B2E #2E8B2B
tetradic
#2B2E8B #8B2B5E #8B882B #2B8B58
square
#2B2E8B #8B2B5E #8B882B #2B8B58
split-complementary
#2B2E8B #8B582B #5E8B2B
monochromatic
#0E0F2E #1D1F5C #2B2E8B #393DBA #6265CE

Accessibility & contrast

On white

11.25
#2B2E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B2E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E8B
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E8B#FFFFFF#000000##FFFFFF
##2B2E8B1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2e8b;
/* rgb */ color: rgb(43, 46, 139);
/* oklch */ color: oklch(36.4% 0.151 274.5);
Tailwind
colors: {
  custom: {
    50: '#7267ae',
    500: '#2b2e8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e8b;
$custom-light: #7267ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e8b",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 238.125,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36358,
    "c": 0.1508,
    "h": 274.5
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#2B2E8B
secondary
#B5B25D
accent
#D84CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B2E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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