#2B388C#2B388C

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

Color values

HEX#2B388C
RGBrgb(43, 56, 140)
HSLhsl(232, 53%, 36%)
HSVhsv(232, 69%, 55%)
CMYKcmyk(69.3%, 60%, 0%, 45.1%)
CIE-LABlab(27.39, 23.96, -48.37)
CIE-LCHlch(27.39, 53.97, 296.35°)
OKLaboklab(38.34% 0.0036 -0.1393)
OKLCHoklch(38.34% 0.139 271.5)
XYZxyz(7.1425, 5.2347, 25.4399)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B388C #8C7F2B
analogous
#2B688C #2B388C #4E2B8C
triadic
#2B388C #8C2B38 #388C2B
tetradic
#2B388C #8C2B68 #8C7F2B #2B8C4E
square
#2B388C #8C2B68 #8C7F2B #2B8C4E
split-complementary
#2B388C #8C4E2B #688C2B
monochromatic
#0E132E #1D255D #2B388C #394BBB #6271CF

Accessibility & contrast

On white

10.26
#2B388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B388C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B388C#FFFFFF#000000##FFFFFF
##2B388C1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b388c;
/* rgb */ color: rgb(43, 56, 140);
/* oklch */ color: oklch(38.3% 0.139 271.5);
Tailwind
colors: {
  custom: {
    50: '#716eae',
    500: '#2b388c',
    950: '#000000',
  },
}
SCSS
$custom: #2b388c;
$custom-light: #716eae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b388c",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 231.959,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38342,
    "c": 0.13938,
    "h": 271.5
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#2B388C
secondary
#B5A95E
accent
#C94BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2B388C

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

Preview Lab → · Contrast checker → · Palette generator →

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