#2B498F#2B498F

#2B498F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.121 H 264.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2B498F
RGBrgb(43, 73, 143)
HSLhsl(222, 54%, 36%)
HSVhsv(222, 70%, 56%)
CMYKcmyk(69.9%, 49%, 0%, 43.9%)
CIE-LABlab(32.39, 13.55, -42.13)
CIE-LCHlch(32.39, 44.25, 287.83°)
OKLaboklab(42.19% -0.0119 -0.1207)
OKLCHoklch(42.19% 0.121 264.4)
XYZxyz(8.3350, 7.2610, 26.9435)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B498F #8F712B
analogous
#2B7B8F #2B498F #3F2B8F
triadic
#2B498F #8F2B49 #498F2B
tetradic
#2B498F #8F2B7B #8F712B #2B8F3F
square
#2B498F #8F2B7B #8F712B #2B8F3F
split-complementary
#2B498F #8F3F2B #7B8F2B
monochromatic
#0F1931 #1D3160 #2B498F #3961BE #6485D0

Accessibility & contrast

On white

8.56
#2B498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B498F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B498F#FFFFFF#000000##FFFFFF
##2B498F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#0C488E
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b498f;
/* rgb */ color: rgb(43, 73, 143);
/* oklch */ color: oklch(42.2% 0.121 264.4);
Tailwind
colors: {
  custom: {
    50: '#717bb0',
    500: '#2b498f',
    950: '#000000',
  },
}
SCSS
$custom: #2b498f;
$custom-light: #717bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b498f",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 222,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42187,
    "c": 0.12131,
    "h": 264.4
  },
  "luminance": 0.07262
}

Semantic roles & 50–950 ramp

primary
#2B498F
secondary
#B79C5F
accent
#B14BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B498F

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

Preview Lab → · Contrast checker → · Palette generator →

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