#2B3478#2B3478

#2B3478 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.8% C 0.116 H 273.4°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2B3478
RGBrgb(43, 52, 120)
HSLhsl(233, 47%, 32%)
HSVhsv(233, 64%, 47%)
CMYKcmyk(64.2%, 56.7%, 0%, 52.9%)
CIE-LABlab(24.72, 19.20, -40.18)
CIE-LCHlch(24.72, 44.53, 295.55°)
OKLaboklab(35.85% 0.0069 -0.1153)
OKLCHoklch(35.85% 0.116 273.4)
XYZxyz(5.6133, 4.3252, 18.3047)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3478 #786F2B
analogous
#2B5B78 #2B3478 #492B78
triadic
#2B3478 #782B34 #34782B
tetradic
#2B3478 #782B5B #786F2B #2B7849
square
#2B3478 #782B5B #786F2B #2B7849
split-complementary
#2B3478 #78492B #5B782B
monochromatic
#0B0D1E #1B204B #2B3478 #3B48A5 #5A66C4

Accessibility & contrast

On white

11.26
#2B3478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B3478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3478
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3478#FFFFFF#000000##FFFFFF
##2B34781.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043E7A
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b3478;
/* rgb */ color: rgb(43, 52, 120);
/* oklch */ color: oklch(35.8% 0.116 273.4);
Tailwind
colors: {
  custom: {
    50: '#6d6b9f',
    500: '#2b3478',
    950: '#000000',
  },
}
SCSS
$custom: #2b3478;
$custom-light: #6d6b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3478",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 232.987,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35846,
    "c": 0.11551,
    "h": 273.4
  },
  "luminance": 0.04326
}

Semantic roles & 50–950 ramp

primary
#2B3478
secondary
#AAA055
accent
#C751D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #2B3478

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

Preview Lab → · Contrast checker → · Palette generator →

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