#2B378B#2B378B

#2B378B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.139 H 271.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2B378B
RGBrgb(43, 55, 139)
HSLhsl(233, 53%, 36%)
HSVhsv(233, 69%, 55%)
CMYKcmyk(69.1%, 60.4%, 0%, 45.5%)
CIE-LABlab(27.04, 24.26, -48.31)
CIE-LCHlch(27.04, 54.06, 296.66°)
OKLaboklab(38.06% 0.0045 -0.1392)
OKLCHoklch(38.06% 0.139 271.9)
XYZxyz(7.0211, 5.1094, 25.0373)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B378B #8B7F2B
analogous
#2B678B #2B378B #4F2B8B
triadic
#2B378B #8B2B37 #378B2B
tetradic
#2B378B #8B2B67 #8B7F2B #2B8B4F
square
#2B378B #8B2B67 #8B7F2B #2B8B4F
split-complementary
#2B378B #8B4F2B #678B2B
monochromatic
#0E122E #1D255C #2B378B #3949BA #6270CE

Accessibility & contrast

On white

10.39
#2B378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B378B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B378B
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B378B#FFFFFF#000000##FFFFFF
##2B378B1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b378b;
/* rgb */ color: rgb(43, 55, 139);
/* oklch */ color: oklch(38.1% 0.139 271.9);
Tailwind
colors: {
  custom: {
    50: '#716dae',
    500: '#2b378b',
    950: '#000000',
  },
}
SCSS
$custom: #2b378b;
$custom-light: #716dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b378b",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 232.5,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38056,
    "c": 0.13926,
    "h": 271.9
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#2B378B
secondary
#B5AA5D
accent
#CA4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2B378B

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

Preview Lab → · Contrast checker → · Palette generator →

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