#2B386A#2B386A

#2B386A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.088 H 270.4°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#2B386A
RGBrgb(43, 56, 106)
HSLhsl(228, 42%, 29%)
HSVhsv(228, 59%, 42%)
CMYKcmyk(59.4%, 47.2%, 0%, 58.4%)
CIE-LABlab(24.90, 11.21, -30.95)
CIE-LCHlch(24.90, 32.91, 289.91°)
OKLaboklab(35.67% 0.0007 -0.0881)
OKLCHoklch(35.67% 0.088 270.4)
XYZxyz(5.0111, 4.3822, 14.2147)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B386A #6A5D2B
analogous
#2B586A #2B386A #3E2B6A
triadic
#2B386A #6A2B38 #386A2B
tetradic
#2B386A #6A2B58 #6A5D2B #2B6A3E
square
#2B386A #6A2B58 #6A5D2B #2B6A3E
split-complementary
#2B386A #6A3E2B #586A2B
monochromatic
#090C16 #19213E #2B386A #3D4F96 #556ABA

Accessibility & contrast

On white

11.19
#2B386A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B386A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B386A
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B386A#FFFFFF#000000##FFFFFF
##2B386A1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#1A3869
Tritanopia (blue-blind)
#05434B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b386a;
/* rgb */ color: rgb(43, 56, 106);
/* oklch */ color: oklch(35.7% 0.088 270.4);
Tailwind
colors: {
  custom: {
    50: '#6a6e95',
    500: '#2b386a',
    950: '#000000',
  },
}
SCSS
$custom: #2b386a;
$custom-light: #6a6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#2b386a",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 106
  },
  "hsl": {
    "h": 227.619,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35665,
    "c": 0.08811,
    "h": 270.4
  },
  "luminance": 0.04383
}

Semantic roles & 50–950 ramp

primary
#2B386A
secondary
#9C8D55
accent
#B856D2
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2B386A

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

Preview Lab → · Contrast checker → · Palette generator →

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