#2B2890#2B2890

#2B2890 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.165 H 275.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#2B2890
RGBrgb(43, 40, 144)
HSLhsl(242, 57%, 36%)
HSVhsv(242, 72%, 56%)
CMYKcmyk(70.1%, 72.2%, 0%, 43.5%)
CIE-LABlab(23.82, 35.81, -56.69)
CIE-LCHlch(23.82, 67.06, 302.28°)
OKLaboklab(35.84% 0.0156 -0.1638)
OKLCHoklch(35.84% 0.165 275.4)
XYZxyz(6.7874, 4.0442, 26.8031)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2890 #8D9028
analogous
#285990 #2B2890 #5F2890
triadic
#2B2890 #902B28 #28902B
tetradic
#2B2890 #902859 #8D9028 #28905F
square
#2B2890 #902859 #8D9028 #28905F
split-complementary
#2B2890 #905F28 #599028
monochromatic
#0E0D30 #1D1B60 #2B2890 #3935C0 #6360D3

Accessibility & contrast

On white

11.61
#2B2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2890
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2890#FFFFFF#000000##FFFFFF
##2B28901.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2890;
/* rgb */ color: rgb(43, 40, 144);
/* oklch */ color: oklch(35.8% 0.165 275.4);
Tailwind
colors: {
  custom: {
    50: '#7363b2',
    500: '#2b2890',
    950: '#000000',
  },
}
SCSS
$custom: #2b2890;
$custom-light: #7363b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2890",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 241.731,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3584,
    "c": 0.16456,
    "h": 275.4
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#2B2890
secondary
#B6B85C
accent
#E048DB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2890

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

Preview Lab → · Contrast checker → · Palette generator →

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