#2B236E#2B236E

#2B236E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.124 H 281.4°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#2B236E
RGBrgb(43, 35, 110)
HSLhsl(246, 52%, 28%)
HSVhsv(246, 68%, 43%)
CMYKcmyk(60.9%, 68.2%, 0%, 56.9%)
CIE-LABlab(19.40, 27.11, -42.41)
CIE-LCHlch(19.40, 50.34, 302.59°)
OKLaboklab(31.66% 0.0246 -0.122)
OKLCHoklch(31.66% 0.124 281.4)
XYZxyz(4.4109, 2.8411, 15.0648)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B236E #666E23
analogous
#23406E #2B236E #50236E
triadic
#2B236E #6E2B23 #236E2B
tetradic
#2B236E #6E2340 #666E23 #236E50
square
#2B236E #6E2340 #666E23 #236E50
split-complementary
#2B236E #6E5023 #406E23
monochromatic
#090717 #191440 #2B236E #3D329C #5447C4

Accessibility & contrast

On white

13.39
#2B236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2B236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B236E
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B236E#FFFFFF#000000##FFFFFF
##2B236E1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#043645
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2b236e;
/* rgb */ color: rgb(43, 35, 110);
/* oklch */ color: oklch(31.7% 0.124 281.4);
Tailwind
colors: {
  custom: {
    50: '#6c5e98',
    500: '#2b236e',
    950: '#000000',
  },
}
SCSS
$custom: #2b236e;
$custom-light: #6c5e98;
$custom-dark: #000000;
JSON
{
  "hex": "#2b236e",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 246.4,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31655,
    "c": 0.12447,
    "h": 281.4
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#2B236E
secondary
#98A14C
accent
#DB4DCC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #2B236E

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

Preview Lab → · Contrast checker → · Palette generator →

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