#2B385C#2B385C

#2B385C is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.7% C 0.066 H 267.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#2B385C
RGBrgb(43, 56, 92)
HSLhsl(224, 36%, 26%)
HSVhsv(224, 53%, 36%)
CMYKcmyk(53.3%, 39.1%, 0%, 63.9%)
CIE-LABlab(24.05, 6.12, -23.22)
CIE-LCHlch(24.05, 24.01, 284.77°)
OKLaboklab(34.73% -0.0024 -0.0655)
OKLCHoklch(34.73% 0.066 267.9)
XYZxyz(4.3416, 4.1144, 10.6885)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B385C #5C4F2B
analogous
#2B515C #2B385C #372B5C
triadic
#2B385C #5C2B38 #385C2B
tetradic
#2B385C #5C2B51 #5C4F2B #2B5C37
square
#2B385C #5C2B51 #5C4F2B #2B5C37
split-complementary
#2B385C #5C372B #515C2B
monochromatic
#0A0D15 #181F32 #2B385C #3E5186 #536BAF

Accessibility & contrast

On white

11.52
#2B385C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B385C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B385C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B385C#FFFFFF#000000##FFFFFF
##2B385C1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C5D
Deuteranopia (green-blind)
#25375B
Tritanopia (blue-blind)
#164045
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b385c;
/* rgb */ color: rgb(43, 56, 92);
/* oklch */ color: oklch(34.7% 0.066 267.9);
Tailwind
colors: {
  custom: {
    50: '#686e8a',
    500: '#2b385c',
    950: '#000000',
  },
}
SCSS
$custom: #2b385c;
$custom-light: #686e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b385c",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 92
  },
  "hsl": {
    "h": 224.082,
    "s": 36.296,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34734,
    "c": 0.06554,
    "h": 267.9
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#2B385C
secondary
#8E7F55
accent
#AE5BCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070B
muted
#7A7A7C

Preview Lab

Preview with #2B385C

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

Preview Lab → · Contrast checker → · Palette generator →

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