#2B239E#2B239E

#2B239E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.187 H 274.8°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2B239E
RGBrgb(43, 35, 158)
HSLhsl(244, 64%, 38%)
HSVhsv(244, 78%, 62%)
CMYKcmyk(72.8%, 77.8%, 0%, 38%)
CIE-LABlab(24.27, 43.40, -64.56)
CIE-LCHlch(24.27, 77.79, 303.91°)
OKLaboklab(36.6% 0.0156 -0.1867)
OKLCHoklch(36.6% 0.187 274.8)
XYZxyz(7.7668, 4.1835, 32.7393)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B239E #969E23
analogous
#23599E #2B239E #68239E
triadic
#2B239E #9E2B23 #239E2B
tetradic
#2B239E #9E2359 #969E23 #239E68
square
#2B239E #9E2359 #969E23 #239E68
split-complementary
#2B239E #9E6823 #599E23
monochromatic
#100D3A #1D186C #2B239E #392ED0 #6860DC

Accessibility & contrast

On white

11.43
#2B239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B239E
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B239E#FFFFFF#000000##FFFFFF
##2B239E1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b239e;
/* rgb */ color: rgb(43, 35, 158);
/* oklch */ color: oklch(36.6% 0.187 274.8);
Tailwind
colors: {
  custom: {
    50: '#7760bc',
    500: '#2b239e',
    950: '#000000',
  },
}
SCSS
$custom: #2b239e;
$custom-light: #7760bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b239e",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 243.902,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36601,
    "c": 0.18736,
    "h": 274.8
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

primary
#2B239E
secondary
#BAC15C
accent
#E741DC
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B239E

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

Preview Lab → · Contrast checker → · Palette generator →

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