#2B538B#2B538B

#2B538B is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.2% C 0.103 H 257.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2B538B
RGBrgb(43, 83, 139)
HSLhsl(215, 53%, 36%)
HSVhsv(215, 69%, 55%)
CMYKcmyk(69.1%, 40.3%, 0%, 45.5%)
CIE-LABlab(35.13, 5.36, -35.31)
CIE-LCHlch(35.13, 35.71, 278.64°)
OKLaboklab(44.22% -0.0228 -0.1005)
OKLCHoklch(44.22% 0.103 257.2)
XYZxyz(8.7480, 8.5633, 25.6129)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B538B #8B632B
analogous
#2B838B #2B538B #332B8B
triadic
#2B538B #8B2B53 #538B2B
tetradic
#2B538B #8B2B83 #8B632B #2B8B33
square
#2B538B #8B2B83 #8B632B #2B8B33
split-complementary
#2B538B #8B332B #838B2B
monochromatic
#0E1B2E #1D375C #2B538B #396FBA #628FCE

Accessibility & contrast

On white

7.74
#2B538B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2B538B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B538B
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B538B#FFFFFF#000000##FFFFFF
##2B538B1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578D
Deuteranopia (green-blind)
#2B4E8A
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b538b;
/* rgb */ color: rgb(43, 83, 139);
/* oklch */ color: oklch(44.2% 0.103 257.2);
Tailwind
colors: {
  custom: {
    50: '#7083ad',
    500: '#2b538b',
    950: '#000000',
  },
}
SCSS
$custom: #2b538b;
$custom-light: #7083ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b538b",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 215,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44216,
    "c": 0.10309,
    "h": 257.2
  },
  "luminance": 0.08564
}

Semantic roles & 50–950 ramp

primary
#2B538B
secondary
#B5905D
accent
#A04CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B538B

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

Preview Lab → · Contrast checker → · Palette generator →

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