#2B236A#2B236A

#2B236A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.3% C 0.119 H 282.2°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#2B236A
RGBrgb(43, 35, 106)
HSLhsl(247, 50%, 28%)
HSVhsv(247, 67%, 42%)
CMYKcmyk(59.4%, 67%, 0%, 58.4%)
CIE-LABlab(19.04, 25.71, -40.40)
CIE-LCHlch(19.04, 47.89, 302.48°)
OKLaboklab(31.28% 0.025 -0.1161)
OKLCHoklch(31.28% 0.119 282.2)
XYZxyz(4.1980, 2.7560, 13.9436)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B236A #626A23
analogous
#233E6A #2B236A #4F236A
triadic
#2B236A #6A2B23 #236A2B
tetradic
#2B236A #6A233E #626A23 #236A4F
square
#2B236A #6A233E #626A23 #236A4F
split-complementary
#2B236A #6A4F23 #3E6A23
monochromatic
#090817 #18143C #2B236A #3E3298 #5446C2

Accessibility & contrast

On white

13.54
#2B236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2B236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B236A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B236A#FFFFFF#000000##FFFFFF
##2B236A1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#0B3543
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b236a;
/* rgb */ color: rgb(43, 35, 106);
/* oklch */ color: oklch(31.3% 0.119 282.2);
Tailwind
colors: {
  custom: {
    50: '#6c5e95',
    500: '#2b236a',
    950: '#000000',
  },
}
SCSS
$custom: #2b236a;
$custom-light: #6c5e95;
$custom-dark: #000000;
JSON
{
  "hex": "#2b236a",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 246.761,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31284,
    "c": 0.11875,
    "h": 282.2
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#2B236A
secondary
#949D4B
accent
#DA4ECA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2B236A

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

Preview Lab → · Contrast checker → · Palette generator →

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