#2B375F#2B375F

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

Color values

HEX#2B375F
RGBrgb(43, 55, 95)
HSLhsl(226, 38%, 27%)
HSVhsv(226, 55%, 37%)
CMYKcmyk(54.7%, 42.1%, 0%, 62.7%)
CIE-LABlab(23.91, 7.89, -25.39)
CIE-LCHlch(23.91, 26.59, 287.25°)
OKLaboklab(34.68% -0.0003 -0.0718)
OKLCHoklch(34.68% 0.072 269.8)
XYZxyz(4.4273, 4.0719, 11.3769)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B375F #5F532B
analogous
#2B515F #2B375F #392B5F
triadic
#2B375F #5F2B37 #375F2B
tetradic
#2B375F #5F2B51 #5F532B #2B5F39
square
#2B375F #5F2B51 #5F532B #2B5F39
split-complementary
#2B375F #5F392B #515F2B
monochromatic
#0A0C15 #181F35 #2B375F #3E4F89 #5369B1

Accessibility & contrast

On white

11.57
#2B375F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B375F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B375F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B375F#FFFFFF#000000##FFFFFF
##2B375F1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B61
Deuteranopia (green-blind)
#22375E
Tritanopia (blue-blind)
#144046
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b375f;
/* rgb */ color: rgb(43, 55, 95);
/* oklch */ color: oklch(34.7% 0.072 269.8);
Tailwind
colors: {
  custom: {
    50: '#686d8c',
    500: '#2b375f',
    950: '#000000',
  },
}
SCSS
$custom: #2b375f;
$custom-light: #686d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b375f",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 95
  },
  "hsl": {
    "h": 226.154,
    "s": 37.681,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34684,
    "c": 0.07185,
    "h": 269.8
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#2B375F
secondary
#918355
accent
#B35ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2B375F

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

Preview Lab → · Contrast checker → · Palette generator →

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