#2B3474#2B3474

#2B3474 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.109 H 273.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2B3474
RGBrgb(43, 52, 116)
HSLhsl(233, 46%, 31%)
HSVhsv(233, 63%, 45%)
CMYKcmyk(62.9%, 55.2%, 0%, 54.5%)
CIE-LABlab(24.42, 17.71, -38.12)
CIE-LCHlch(24.42, 42.03, 294.92°)
OKLaboklab(35.53% 0.0066 -0.1092)
OKLCHoklch(35.53% 0.109 273.5)
XYZxyz(5.3756, 4.2301, 17.0528)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3474 #746B2B
analogous
#2B5874 #2B3474 #462B74
triadic
#2B3474 #742B34 #34742B
tetradic
#2B3474 #742B58 #746B2B #2B7446
square
#2B3474 #742B58 #746B2B #2B7446
split-complementary
#2B3474 #74462B #58742B
monochromatic
#0A0C1B #1A2047 #2B3474 #3C48A1 #5865C1

Accessibility & contrast

On white

11.37
#2B3474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B3474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3474
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3474#FFFFFF#000000##FFFFFF
##2B34741.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b3474;
/* rgb */ color: rgb(43, 52, 116);
/* oklch */ color: oklch(35.5% 0.109 273.5);
Tailwind
colors: {
  custom: {
    50: '#6c6b9c',
    500: '#2b3474',
    950: '#000000',
  },
}
SCSS
$custom: #2b3474;
$custom-light: #6c6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3474",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 232.603,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35525,
    "c": 0.10944,
    "h": 273.5
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#2B3474
secondary
#A69C55
accent
#C552D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B3474

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

Preview Lab → · Contrast checker → · Palette generator →

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