#2B388D#2B388D

#2B388D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.141 H 271.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2B388D
RGBrgb(43, 56, 141)
HSLhsl(232, 53%, 36%)
HSVhsv(232, 70%, 55%)
CMYKcmyk(69.5%, 60.3%, 0%, 44.7%)
CIE-LABlab(27.47, 24.33, -48.85)
CIE-LCHlch(27.47, 54.58, 296.48°)
OKLaboklab(38.43% 0.0037 -0.1408)
OKLCHoklch(38.43% 0.141 271.5)
XYZxyz(7.2165, 5.2643, 25.8299)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B388D #8D802B
analogous
#2B698D #2B388D #4F2B8D
triadic
#2B388D #8D2B38 #388D2B
tetradic
#2B388D #8D2B69 #8D802B #2B8D4F
square
#2B388D #8D2B69 #8D802B #2B8D4F
split-complementary
#2B388D #8D4F2B #698D2B
monochromatic
#0E132F #1D255E #2B388D #394BBC #6371CF

Accessibility & contrast

On white

10.23
#2B388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B388D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B388D#FFFFFF#000000##FFFFFF
##2B388D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b388d;
/* rgb */ color: rgb(43, 56, 141);
/* oklch */ color: oklch(38.4% 0.141 271.5);
Tailwind
colors: {
  custom: {
    50: '#716eaf',
    500: '#2b388d',
    950: '#000000',
  },
}
SCSS
$custom: #2b388d;
$custom-light: #716eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b388d",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 232.041,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38428,
    "c": 0.14081,
    "h": 271.5
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#2B388D
secondary
#B6AA5E
accent
#C94BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2B388D

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

Preview Lab → · Contrast checker → · Palette generator →

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