#2B378E#2B378E

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

Color values

HEX#2B378E
RGBrgb(43, 55, 142)
HSLhsl(233, 54%, 36%)
HSVhsv(233, 70%, 56%)
CMYKcmyk(69.7%, 61.3%, 0%, 44.3%)
CIE-LABlab(27.29, 25.38, -49.77)
CIE-LCHlch(27.29, 55.86, 297.02°)
OKLaboklab(38.32% 0.0045 -0.1435)
OKLCHoklch(38.32% 0.144 271.8)
XYZxyz(7.2433, 5.1983, 26.2076)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B378E #8E822B
analogous
#2B698E #2B378E #512B8E
triadic
#2B378E #8E2B37 #378E2B
tetradic
#2B378E #8E2B69 #8E822B #2B8E51
square
#2B378E #8E2B69 #8E822B #2B8E51
split-complementary
#2B378E #8E512B #698E2B
monochromatic
#0F1330 #1D255F #2B378E #3949BD #6371D0

Accessibility & contrast

On white

10.30
#2B378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B378E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B378E#FFFFFF#000000##FFFFFF
##2B378E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b378e;
/* rgb */ color: rgb(43, 55, 142);
/* oklch */ color: oklch(38.3% 0.144 271.8);
Tailwind
colors: {
  custom: {
    50: '#726db0',
    500: '#2b378e',
    950: '#000000',
  },
}
SCSS
$custom: #2b378e;
$custom-light: #726db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b378e",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 232.727,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38318,
    "c": 0.14353,
    "h": 271.8
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B378E

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

Preview Lab → · Contrast checker → · Palette generator →

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