#2B388E#2B388E

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

Color values

HEX#2B388E
RGBrgb(43, 56, 142)
HSLhsl(232, 54%, 36%)
HSVhsv(232, 70%, 56%)
CMYKcmyk(69.7%, 60.6%, 0%, 44.3%)
CIE-LABlab(27.56, 24.71, -49.34)
CIE-LCHlch(27.56, 55.18, 296.60°)
OKLaboklab(38.52% 0.0037 -0.1422)
OKLCHoklch(38.52% 0.142 271.5)
XYZxyz(7.2913, 5.2942, 26.2236)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B388E #8E812B
analogous
#2B6A8E #2B388E #502B8E
triadic
#2B388E #8E2B38 #388E2B
tetradic
#2B388E #8E2B6A #8E812B #2B8E50
square
#2B388E #8E2B6A #8E812B #2B8E50
split-complementary
#2B388E #8E502B #6A8E2B
monochromatic
#0F1330 #1D255F #2B388E #394BBD #6372D0

Accessibility & contrast

On white

10.20
#2B388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B388E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B388E#FFFFFF#000000##FFFFFF
##2B388E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b388e;
/* rgb */ color: rgb(43, 56, 142);
/* oklch */ color: oklch(38.5% 0.142 271.5);
Tailwind
colors: {
  custom: {
    50: '#716eb0',
    500: '#2b388e',
    950: '#000000',
  },
}
SCSS
$custom: #2b388e;
$custom-light: #716eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b388e",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 232.121,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38515,
    "c": 0.14223,
    "h": 271.5
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B388E

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

Preview Lab → · Contrast checker → · Palette generator →

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