#2B4A88#2B4A88

#2B4A88 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.110 H 262.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2B4A88
RGBrgb(43, 74, 136)
HSLhsl(220, 52%, 35%)
HSVhsv(220, 68%, 53%)
CMYKcmyk(68.4%, 45.6%, 0%, 46.7%)
CIE-LABlab(32.23, 10.20, -38.09)
CIE-LCHlch(32.23, 39.43, 284.99°)
OKLaboklab(41.91% -0.0141 -0.1088)
OKLCHoklch(41.91% 0.11 262.6)
XYZxyz(7.8874, 7.1880, 24.2595)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A88 #88692B
analogous
#2B7888 #2B4A88 #3B2B88
triadic
#2B4A88 #882B4A #4A882B
tetradic
#2B4A88 #882B78 #88692B #2B883B
square
#2B4A88 #882B78 #88692B #2B883B
split-complementary
#2B4A88 #883B2B #78882B
monochromatic
#0E172B #1C315A #2B4A88 #3A63B6 #6185CD

Accessibility & contrast

On white

8.61
#2B4A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2B4A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A88
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A88#FFFFFF#000000##FFFFFF
##2B4A881.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C508A
Deuteranopia (green-blind)
#1C4887
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4a88;
/* rgb */ color: rgb(43, 74, 136);
/* oklch */ color: oklch(41.9% 0.110 262.6);
Tailwind
colors: {
  custom: {
    50: '#6f7cab',
    500: '#2b4a88',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a88;
$custom-light: #6f7cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a88",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 136
  },
  "hsl": {
    "h": 220,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.10975,
    "h": 262.6
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#2B4A88
secondary
#B3965C
accent
#AC4CDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4A88

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

Preview Lab → · Contrast checker → · Palette generator →

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