#2B385F#2B385F

#2B385F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 34.9% C 0.070 H 268.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2B385F
RGBrgb(43, 56, 95)
HSLhsl(225, 38%, 27%)
HSVhsv(225, 55%, 37%)
CMYKcmyk(54.7%, 41.1%, 0%, 62.7%)
CIE-LABlab(24.22, 7.19, -24.90)
CIE-LCHlch(24.22, 25.92, 286.11°)
OKLaboklab(34.92% -0.0017 -0.0704)
OKLCHoklch(34.92% 0.07 268.6)
XYZxyz(4.4753, 4.1679, 11.3929)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B385F #5F522B
analogous
#2B525F #2B385F #382B5F
triadic
#2B385F #5F2B38 #385F2B
tetradic
#2B385F #5F2B52 #5F522B #2B5F38
square
#2B385F #5F2B52 #5F522B #2B5F38
split-complementary
#2B385F #5F382B #525F2B
monochromatic
#0A0C15 #181F35 #2B385F #3E5189 #536BB1

Accessibility & contrast

On white

11.45
#2B385F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B385F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B385F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B385F#FFFFFF#000000##FFFFFF
##2B385F1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#23375E
Tritanopia (blue-blind)
#144047
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b385f;
/* rgb */ color: rgb(43, 56, 95);
/* oklch */ color: oklch(34.9% 0.070 268.6);
Tailwind
colors: {
  custom: {
    50: '#686e8c',
    500: '#2b385f',
    950: '#000000',
  },
}
SCSS
$custom: #2b385f;
$custom-light: #686e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b385f",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 95
  },
  "hsl": {
    "h": 225,
    "s": 37.681,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34924,
    "c": 0.07042,
    "h": 268.6
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#2B385F
secondary
#918255
accent
#B15ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2B385F

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

Preview Lab → · Contrast checker → · Palette generator →

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