#2B2390#2B2390

#2B2390 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.170 H 276.3°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#2B2390
RGBrgb(43, 35, 144)
HSLhsl(244, 61%, 35%)
HSVhsv(244, 76%, 56%)
CMYKcmyk(70.1%, 75.7%, 0%, 43.5%)
CIE-LABlab(22.75, 38.78, -58.45)
CIE-LCHlch(22.75, 70.14, 303.56°)
OKLaboklab(35.08% 0.0187 -0.1689)
OKLCHoklch(35.08% 0.17 276.3)
XYZxyz(6.6297, 3.7287, 26.7505)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2390 #889023
analogous
#235190 #2B2390 #622390
triadic
#2B2390 #902B23 #23902B
tetradic
#2B2390 #902351 #889023 #239062
square
#2B2390 #902351 #889023 #239062
split-complementary
#2B2390 #906223 #519023
monochromatic
#0E0B2E #1C175F #2B2390 #3A2FC1 #6157D6

Accessibility & contrast

On white

12.03
#2B2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2390
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2390#FFFFFF#000000##FFFFFF
##2B23901.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2390;
/* rgb */ color: rgb(43, 35, 144);
/* oklch */ color: oklch(35.1% 0.170 276.3);
Tailwind
colors: {
  custom: {
    50: '#7460b2',
    500: '#2b2390',
    950: '#000000',
  },
}
SCSS
$custom: #2b2390;
$custom-light: #7460b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2390",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 244.404,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35082,
    "c": 0.16994,
    "h": 276.3
  },
  "luminance": 0.03729
}

Semantic roles & 50–950 ramp

primary
#2B2390
secondary
#B3BA54
accent
#E444D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2390

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

Preview Lab → · Contrast checker → · Palette generator →

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