#2B2090#2B2090

#2B2090 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.173 H 276.8°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#2B2090
RGBrgb(43, 32, 144)
HSLhsl(246, 64%, 35%)
HSVhsv(246, 78%, 56%)
CMYKcmyk(70.1%, 77.8%, 0%, 43.5%)
CIE-LABlab(22.16, 40.47, -59.43)
CIE-LCHlch(22.16, 71.90, 304.25°)
OKLaboklab(34.66% 0.0204 -0.1717)
OKLCHoklch(34.66% 0.173 276.8)
XYZxyz(6.5452, 3.5596, 26.7223)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2090 #859020
analogous
#204D90 #2B2090 #632090
triadic
#2B2090 #902B20 #20902B
tetradic
#2B2090 #90204D #859020 #209063
square
#2B2090 #90204D #859020 #209063
split-complementary
#2B2090 #906320 #4D9020
monochromatic
#0D0A2C #1C155E #2B2090 #3A2BC2 #5F52D9

Accessibility & contrast

On white

12.27
#2B2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2090
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2090#FFFFFF#000000##FFFFFF
##2B20901.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b2090;
/* rgb */ color: rgb(43, 32, 144);
/* oklch */ color: oklch(34.7% 0.173 276.8);
Tailwind
colors: {
  custom: {
    50: '#745eb2',
    500: '#2b2090',
    950: '#000000',
  },
}
SCSS
$custom: #2b2090;
$custom-light: #745eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2090",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 245.893,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34662,
    "c": 0.17295,
    "h": 276.8
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#2B2090
secondary
#B1BC50
accent
#E741D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #2B2090

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

Preview Lab → · Contrast checker → · Palette generator →

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