#2B378D#2B378D

#2B378D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.142 H 271.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2B378D
RGBrgb(43, 55, 141)
HSLhsl(233, 53%, 36%)
HSVhsv(233, 70%, 55%)
CMYKcmyk(69.5%, 61%, 0%, 44.7%)
CIE-LABlab(27.21, 25.00, -49.28)
CIE-LCHlch(27.21, 55.26, 296.90°)
OKLaboklab(38.23% 0.0045 -0.142)
OKLCHoklch(38.23% 0.142 271.8)
XYZxyz(7.1685, 5.1684, 25.8140)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B378D #8D812B
analogous
#2B688D #2B378D #502B8D
triadic
#2B378D #8D2B37 #378D2B
tetradic
#2B378D #8D2B68 #8D812B #2B8D50
square
#2B378D #8D2B68 #8D812B #2B8D50
split-complementary
#2B378D #8D502B #688D2B
monochromatic
#0E122F #1D255E #2B378D #3949BC #6370CF

Accessibility & contrast

On white

10.33
#2B378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2B378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B378D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B378D#FFFFFF#000000##FFFFFF
##2B378D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b378d;
/* rgb */ color: rgb(43, 55, 141);
/* oklch */ color: oklch(38.2% 0.142 271.8);
Tailwind
colors: {
  custom: {
    50: '#716daf',
    500: '#2b378d',
    950: '#000000',
  },
}
SCSS
$custom: #2b378d;
$custom-light: #716daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b378d",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 232.653,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38231,
    "c": 0.14211,
    "h": 271.8
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#2B378D
secondary
#B6AB5E
accent
#CB4BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2B378D

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

Preview Lab → · Contrast checker → · Palette generator →

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