#2B387B#2B387B

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

Color values

HEX#2B387B
RGBrgb(43, 56, 123)
HSLhsl(230, 48%, 33%)
HSVhsv(230, 65%, 48%)
CMYKcmyk(65%, 54.5%, 0%, 51.8%)
CIE-LABlab(26.07, 17.56, -39.89)
CIE-LCHlch(26.07, 43.58, 293.76°)
OKLaboklab(36.94% 0.0029 -0.1144)
OKLCHoklch(36.94% 0.114 271.4)
XYZxyz(5.9844, 4.7715, 19.3407)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B387B #7B6E2B
analogous
#2B607B #2B387B #462B7B
triadic
#2B387B #7B2B38 #387B2B
tetradic
#2B387B #7B2B60 #7B6E2B #2B7B46
square
#2B387B #7B2B60 #7B6E2B #2B7B46
split-complementary
#2B387B #7B462B #607B2B
monochromatic
#0B0F20 #1B234E #2B387B #3B4DA8 #5B6CC6

Accessibility & contrast

On white

10.74
#2B387B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B387B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B387B#FFFFFF#000000##FFFFFF
##2B387B1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F417D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b387b;
/* rgb */ color: rgb(43, 56, 123);
/* oklch */ color: oklch(36.9% 0.114 271.4);
Tailwind
colors: {
  custom: {
    50: '#6d6ea2',
    500: '#2b387b',
    950: '#000000',
  },
}
SCSS
$custom: #2b387b;
$custom-light: #6d6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b387b",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 230.25,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36936,
    "c": 0.11443,
    "h": 271.4
  },
  "luminance": 0.04772
}

Semantic roles & 50–950 ramp

primary
#2B387B
secondary
#AB9E56
accent
#C250D8
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2B387B

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

Preview Lab → · Contrast checker → · Palette generator →

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