#2B2892#2B2892

#2B2892 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.167 H 275.2°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2B2892
RGBrgb(43, 40, 146)
HSLhsl(242, 57%, 36%)
HSVhsv(242, 73%, 57%)
CMYKcmyk(70.5%, 72.6%, 0%, 42.7%)
CIE-LABlab(24.02, 36.51, -57.60)
CIE-LCHlch(24.02, 68.19, 302.37°)
OKLaboklab(36.05% 0.0153 -0.1665)
OKLCHoklch(36.05% 0.167 275.2)
XYZxyz(6.9416, 4.1059, 27.6152)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2892 #8F9228
analogous
#285A92 #2B2892 #602892
triadic
#2B2892 #922B28 #28922B
tetradic
#2B2892 #92285A #8F9228 #289260
square
#2B2892 #92285A #8F9228 #289260
split-complementary
#2B2892 #926028 #5A9228
monochromatic
#0F0E32 #1D1B62 #2B2892 #3935C2 #6461D4

Accessibility & contrast

On white

11.53
#2B2892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B2892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2892
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2892#FFFFFF#000000##FFFFFF
##2B28921.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2892;
/* rgb */ color: rgb(43, 40, 146);
/* oklch */ color: oklch(36.0% 0.167 275.2);
Tailwind
colors: {
  custom: {
    50: '#7463b3',
    500: '#2b2892',
    950: '#000000',
  },
}
SCSS
$custom: #2b2892;
$custom-light: #7463b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2892",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 241.698,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36045,
    "c": 0.16717,
    "h": 275.2
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#2B2892
secondary
#B7B95D
accent
#E048DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2892

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

Preview Lab → · Contrast checker → · Palette generator →

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