#2B386E#2B386E

#2B386E is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.094 H 270.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2B386E
RGBrgb(43, 56, 110)
HSLhsl(228, 44%, 30%)
HSVhsv(228, 61%, 43%)
CMYKcmyk(60.9%, 49.1%, 0%, 56.9%)
CIE-LABlab(25.16, 12.69, -33.09)
CIE-LCHlch(25.16, 35.44, 290.98°)
OKLaboklab(35.95% 0.0014 -0.0944)
OKLCHoklch(35.95% 0.094 270.8)
XYZxyz(5.2240, 4.4673, 15.3358)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B386E #6E612B
analogous
#2B5A6E #2B386E #3F2B6E
triadic
#2B386E #6E2B38 #386E2B
tetradic
#2B386E #6E2B5A #6E612B #2B6E3F
square
#2B386E #6E2B5A #6E612B #2B6E3F
split-complementary
#2B386E #6E3F2B #5A6E2B
monochromatic
#090B16 #1A2242 #2B386E #3C4E9A #566ABD

Accessibility & contrast

On white

11.09
#2B386E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B386E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B386E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B386E#FFFFFF#000000##FFFFFF
##2B386E1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#15396D
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b386e;
/* rgb */ color: rgb(43, 56, 110);
/* oklch */ color: oklch(36.0% 0.094 270.8);
Tailwind
colors: {
  custom: {
    50: '#6b6e98',
    500: '#2b386e',
    950: '#000000',
  },
}
SCSS
$custom: #2b386e;
$custom-light: #6b6e98;
$custom-dark: #000000;
JSON
{
  "hex": "#2b386e",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 110
  },
  "hsl": {
    "h": 228.358,
    "s": 43.791,
    "l": 30
  },
  "oklch": {
    "l": 0.35951,
    "c": 0.09442,
    "h": 270.8
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#2B386E
secondary
#A09155
accent
#BB54D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2B386E

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

Preview Lab → · Contrast checker → · Palette generator →

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