#2B4574#2B4574

#2B4574 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.4% C 0.086 H 261.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2B4574
RGBrgb(43, 69, 116)
HSLhsl(219, 46%, 31%)
HSVhsv(219, 63%, 45%)
CMYKcmyk(62.9%, 40.5%, 0%, 54.5%)
CIE-LABlab(29.49, 6.02, -30.01)
CIE-LCHlch(29.49, 30.60, 281.34°)
OKLaboklab(39.4% -0.0129 -0.0852)
OKLCHoklch(39.4% 0.086 261.4)
XYZxyz(6.2757, 6.0302, 17.3528)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4574 #745A2B
analogous
#2B6974 #2B4574 #352B74
triadic
#2B4574 #742B45 #45742B
tetradic
#2B4574 #742B69 #745A2B #2B7435
square
#2B4574 #742B69 #745A2B #2B7435
split-complementary
#2B4574 #74352B #69742B
monochromatic
#0A101B #1A2A47 #2B4574 #3C60A1 #587EC1

Accessibility & contrast

On white

9.52
#2B4574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B4574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4574
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4574#FFFFFF#000000##FFFFFF
##2B45741.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314976
Deuteranopia (green-blind)
#274273
Tritanopia (blue-blind)
#005057
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4574;
/* rgb */ color: rgb(43, 69, 116);
/* oklch */ color: oklch(39.4% 0.086 261.4);
Tailwind
colors: {
  custom: {
    50: '#6b789c',
    500: '#2b4574',
    950: '#000000',
  },
}
SCSS
$custom: #2b4574;
$custom-light: #6b789c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4574",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 116
  },
  "hsl": {
    "h": 218.63,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.394,
    "c": 0.08616,
    "h": 261.4
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#2B4574
secondary
#A68955
accent
#A752D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B4574

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

Preview Lab → · Contrast checker → · Palette generator →

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