#2B387A#2B387A

#2B387A is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.9% C 0.113 H 271.4°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2B387A
RGBrgb(43, 56, 122)
HSLhsl(230, 48%, 32%)
HSVhsv(230, 65%, 48%)
CMYKcmyk(64.8%, 54.1%, 0%, 52.2%)
CIE-LABlab(26.00, 17.19, -39.37)
CIE-LCHlch(26.00, 42.96, 293.58°)
OKLaboklab(36.86% 0.0028 -0.1129)
OKLCHoklch(36.86% 0.113 271.4)
XYZxyz(5.9221, 4.7466, 19.0127)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B387A #7A6D2B
analogous
#2B5F7A #2B387A #462B7A
triadic
#2B387A #7A2B38 #387A2B
tetradic
#2B387A #7A2B5F #7A6D2B #2B7A46
square
#2B387A #7A2B5F #7A6D2B #2B7A46
split-complementary
#2B387A #7A462B #5F7A2B
monochromatic
#0B0E1F #1B234D #2B387A #3B4DA7 #5A6CC5

Accessibility & contrast

On white

10.77
#2B387A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B387A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B387A
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B387A#FFFFFF#000000##FFFFFF
##2B387A1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b387a;
/* rgb */ color: rgb(43, 56, 122);
/* oklch */ color: oklch(36.9% 0.113 271.4);
Tailwind
colors: {
  custom: {
    50: '#6d6ea1',
    500: '#2b387a',
    950: '#000000',
  },
}
SCSS
$custom: #2b387a;
$custom-light: #6d6ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b387a",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 230.127,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36857,
    "c": 0.11291,
    "h": 271.4
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#2B387A
secondary
#AB9D56
accent
#C150D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #2B387A

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

Preview Lab → · Contrast checker → · Palette generator →

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