#2B498C#2B498C

#2B498C is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.117 H 263.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2B498C
RGBrgb(43, 73, 140)
HSLhsl(221, 53%, 36%)
HSVhsv(221, 69%, 55%)
CMYKcmyk(69.3%, 47.9%, 0%, 45.1%)
CIE-LABlab(32.19, 12.40, -40.61)
CIE-LCHlch(32.19, 42.46, 286.98°)
OKLaboklab(41.97% -0.0124 -0.1163)
OKLCHoklch(41.97% 0.117 263.9)
XYZxyz(8.1108, 7.1713, 25.7626)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B498C #8C6E2B
analogous
#2B798C #2B498C #3D2B8C
triadic
#2B498C #8C2B49 #498C2B
tetradic
#2B498C #8C2B79 #8C6E2B #2B8C3D
square
#2B498C #8C2B79 #8C6E2B #2B8C3D
split-complementary
#2B498C #8C3D2B #798C2B
monochromatic
#0E182E #1D315D #2B498C #3961BB #6284CF

Accessibility & contrast

On white

8.63
#2B498C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B498C
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B498C#FFFFFF#000000##FFFFFF
##2B498C1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508F
Deuteranopia (green-blind)
#13488B
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b498c;
/* rgb */ color: rgb(43, 73, 140);
/* oklch */ color: oklch(42.0% 0.117 263.9);
Tailwind
colors: {
  custom: {
    50: '#707bae',
    500: '#2b498c',
    950: '#000000',
  },
}
SCSS
$custom: #2b498c;
$custom-light: #707bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b498c",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 221.443,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4197,
    "c": 0.11692,
    "h": 263.9
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#2B498C
secondary
#B59A5E
accent
#B04BDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B498C

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

Preview Lab → · Contrast checker → · Palette generator →

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