#2B378C#2B378C

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

Color values

HEX#2B378C
RGBrgb(43, 55, 140)
HSLhsl(233, 53%, 36%)
HSVhsv(233, 69%, 55%)
CMYKcmyk(69.3%, 60.7%, 0%, 45.1%)
CIE-LABlab(27.13, 24.63, -48.80)
CIE-LCHlch(27.13, 54.66, 296.78°)
OKLaboklab(38.14% 0.0045 -0.1406)
OKLCHoklch(38.14% 0.141 271.8)
XYZxyz(7.0945, 5.1388, 25.4239)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B378C #8C802B
analogous
#2B678C #2B378C #4F2B8C
triadic
#2B378C #8C2B37 #378C2B
tetradic
#2B378C #8C2B67 #8C802B #2B8C4F
square
#2B378C #8C2B67 #8C802B #2B8C4F
split-complementary
#2B378C #8C4F2B #678C2B
monochromatic
#0E122E #1D255D #2B378C #3949BB #6270CF

Accessibility & contrast

On white

10.36
#2B378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B378C
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B378C#FFFFFF#000000##FFFFFF
##2B378C1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b378c;
/* rgb */ color: rgb(43, 55, 140);
/* oklch */ color: oklch(38.1% 0.141 271.8);
Tailwind
colors: {
  custom: {
    50: '#716dae',
    500: '#2b378c',
    950: '#000000',
  },
}
SCSS
$custom: #2b378c;
$custom-light: #716dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b378c",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 232.577,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38143,
    "c": 0.14069,
    "h": 271.8
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#2B378C
secondary
#B5AA5E
accent
#CA4BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2B378C

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

Preview Lab → · Contrast checker → · Palette generator →

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