#2B386C#2B386C

#2B386C is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.091 H 270.7°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2B386C
RGBrgb(43, 56, 108)
HSLhsl(228, 43%, 30%)
HSVhsv(228, 60%, 42%)
CMYKcmyk(60.2%, 48.1%, 0%, 57.6%)
CIE-LABlab(25.03, 11.95, -32.02)
CIE-LCHlch(25.03, 34.18, 290.46°)
OKLaboklab(35.81% 0.001 -0.0913)
OKLCHoklch(35.81% 0.091 270.7)
XYZxyz(5.1163, 4.4243, 14.7688)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B386C #6C5F2B
analogous
#2B596C #2B386C #3F2B6C
triadic
#2B386C #6C2B38 #386C2B
tetradic
#2B386C #6C2B59 #6C5F2B #2B6C3F
square
#2B386C #6C2B59 #6C5F2B #2B6C3F
split-complementary
#2B386C #6C3F2B #596C2B
monochromatic
#090B16 #1A2140 #2B386C #3C4F98 #566ABC

Accessibility & contrast

On white

11.14
#2B386C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B386C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B386C#FFFFFF#000000##FFFFFF
##2B386C1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6E
Deuteranopia (green-blind)
#17396B
Tritanopia (blue-blind)
#02444C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b386c;
/* rgb */ color: rgb(43, 56, 108);
/* oklch */ color: oklch(35.8% 0.091 270.7);
Tailwind
colors: {
  custom: {
    50: '#6a6e96',
    500: '#2b386c',
    950: '#000000',
  },
}
SCSS
$custom: #2b386c;
$custom-light: #6a6e96;
$custom-dark: #000000;
JSON
{
  "hex": "#2b386c",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 108
  },
  "hsl": {
    "h": 228,
    "s": 43.046,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35807,
    "c": 0.09128,
    "h": 270.7
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#2B386C
secondary
#9E8F55
accent
#BA55D3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2B386C

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

Preview Lab → · Contrast checker → · Palette generator →

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