#2B385B#2B385B

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

Color values

HEX#2B385B
RGBrgb(43, 56, 91)
HSLhsl(224, 36%, 26%)
HSVhsv(224, 53%, 36%)
CMYKcmyk(52.7%, 38.5%, 0%, 64.3%)
CIE-LABlab(23.99, 5.77, -22.65)
CIE-LCHlch(23.99, 23.37, 284.28°)
OKLaboklab(34.67% -0.0027 -0.0638)
OKLCHoklch(34.67% 0.064 267.6)
XYZxyz(4.2981, 4.0970, 10.4598)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B385B #5B4E2B
analogous
#2B505B #2B385B #362B5B
triadic
#2B385B #5B2B38 #385B2B
tetradic
#2B385B #5B2B50 #5B4E2B #2B5B36
square
#2B385B #5B2B50 #5B4E2B #2B5B36
split-complementary
#2B385B #5B362B #505B2B
monochromatic
#0A0D15 #171E31 #2B385B #3F5285 #536BAE

Accessibility & contrast

On white

11.54
#2B385B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B385B
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B385B#FFFFFF#000000##FFFFFF
##2B385B1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3B5C
Deuteranopia (green-blind)
#26375A
Tritanopia (blue-blind)
#173F45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b385b;
/* rgb */ color: rgb(43, 56, 91);
/* oklch */ color: oklch(34.7% 0.064 267.6);
Tailwind
colors: {
  custom: {
    50: '#686e89',
    500: '#2b385b',
    950: '#000000',
  },
}
SCSS
$custom: #2b385b;
$custom-light: #686e89;
$custom-dark: #000000;
JSON
{
  "hex": "#2b385b",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 91
  },
  "hsl": {
    "h": 223.75,
    "s": 35.821,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34672,
    "c": 0.0639,
    "h": 267.6
  },
  "luminance": 0.04097
}

Semantic roles & 50–950 ramp

primary
#2B385B
secondary
#8D7E55
accent
#AE5CCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070B
muted
#7A7A7C

Preview Lab

Preview with #2B385B

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

Preview Lab → · Contrast checker → · Palette generator →

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