#2B3578#2B3578

#2B3578 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.1% C 0.114 H 272.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2B3578
RGBrgb(43, 53, 120)
HSLhsl(232, 47%, 32%)
HSVhsv(232, 64%, 47%)
CMYKcmyk(64.2%, 55.8%, 0%, 52.9%)
CIE-LABlab(25.00, 18.51, -39.72)
CIE-LCHlch(25.00, 43.82, 294.99°)
OKLaboklab(36.06% 0.0058 -0.1139)
OKLCHoklch(36.06% 0.114 272.9)
XYZxyz(5.6584, 4.4154, 18.3197)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3578 #786E2B
analogous
#2B5C78 #2B3578 #482B78
triadic
#2B3578 #782B35 #35782B
tetradic
#2B3578 #782B5C #786E2B #2B7848
square
#2B3578 #782B5C #786E2B #2B7848
split-complementary
#2B3578 #78482B #5C782B
monochromatic
#0B0D1E #1B214B #2B3578 #3B49A5 #5A67C4

Accessibility & contrast

On white

11.15
#2B3578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B3578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3578
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3578#FFFFFF#000000##FFFFFF
##2B35781.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093F7A
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b3578;
/* rgb */ color: rgb(43, 53, 120);
/* oklch */ color: oklch(36.1% 0.114 272.9);
Tailwind
colors: {
  custom: {
    50: '#6d6c9f',
    500: '#2b3578',
    950: '#000000',
  },
}
SCSS
$custom: #2b3578;
$custom-light: #6d6c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3578",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 120
  },
  "hsl": {
    "h": 232.208,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36057,
    "c": 0.1141,
    "h": 272.9
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#2B3578
secondary
#AA9F55
accent
#C551D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #2B3578

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

Preview Lab → · Contrast checker → · Palette generator →

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