#2B2894#2B2894

#2B2894 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.170 H 275.0°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2B2894
RGBrgb(43, 40, 148)
HSLhsl(242, 57%, 37%)
HSVhsv(242, 73%, 58%)
CMYKcmyk(70.9%, 73%, 0%, 42%)
CIE-LABlab(24.22, 37.20, -58.50)
CIE-LCHlch(24.22, 69.33, 302.45°)
OKLaboklab(36.25% 0.0149 -0.1691)
OKLCHoklch(36.25% 0.17 275)
XYZxyz(7.0986, 4.1686, 28.4418)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2894 #919428
analogous
#285B94 #2B2894 #612894
triadic
#2B2894 #942B28 #28942B
tetradic
#2B2894 #94285B #919428 #289461
square
#2B2894 #94285B #919428 #289461
split-complementary
#2B2894 #946128 #5B9428
monochromatic
#0F0E34 #1D1B64 #2B2894 #3935C4 #6562D5

Accessibility & contrast

On white

11.45
#2B2894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B2894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2894
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2894#FFFFFF#000000##FFFFFF
##2B28941.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2894;
/* rgb */ color: rgb(43, 40, 148);
/* oklch */ color: oklch(36.3% 0.170 275.0);
Tailwind
colors: {
  custom: {
    50: '#7463b5',
    500: '#2b2894',
    950: '#000000',
  },
}
SCSS
$custom: #2b2894;
$custom-light: #7463b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2894",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 241.667,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36251,
    "c": 0.16976,
    "h": 275
  },
  "luminance": 0.04169
}

Semantic roles & 50–950 ramp

primary
#2B2894
secondary
#B8BA5E
accent
#E147DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2B2894

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

Preview Lab → · Contrast checker → · Palette generator →

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