#2B498B#2B498B

#2B498B is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.115 H 263.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2B498B
RGBrgb(43, 73, 139)
HSLhsl(221, 53%, 36%)
HSVhsv(221, 69%, 55%)
CMYKcmyk(69.1%, 47.5%, 0%, 45.5%)
CIE-LABlab(32.13, 12.02, -40.10)
CIE-LCHlch(32.13, 41.86, 286.68°)
OKLaboklab(41.9% -0.0125 -0.1148)
OKLCHoklch(41.9% 0.115 263.8)
XYZxyz(8.0374, 7.1420, 25.3761)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B498B #8B6D2B
analogous
#2B798B #2B498B #3D2B8B
triadic
#2B498B #8B2B49 #498B2B
tetradic
#2B498B #8B2B79 #8B6D2B #2B8B3D
square
#2B498B #8B2B79 #8B6D2B #2B8B3D
split-complementary
#2B498B #8B3D2B #798B2B
monochromatic
#0E182E #1D305C #2B498B #3962BA #6284CE

Accessibility & contrast

On white

8.65
#2B498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2B498B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B498B
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B498B#FFFFFF#000000##FFFFFF
##2B498B1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#15478A
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b498b;
/* rgb */ color: rgb(43, 73, 139);
/* oklch */ color: oklch(41.9% 0.115 263.8);
Tailwind
colors: {
  custom: {
    50: '#707bad',
    500: '#2b498b',
    950: '#000000',
  },
}
SCSS
$custom: #2b498b;
$custom-light: #707bad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b498b",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 221.25,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41898,
    "c": 0.11544,
    "h": 263.8
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#2B498B
secondary
#B5995D
accent
#AF4CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B498B

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

Preview Lab → · Contrast checker → · Palette generator →

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