#2B498E#2B498E

#2B498E is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.120 H 264.2°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2B498E
RGBrgb(43, 73, 142)
HSLhsl(222, 54%, 36%)
HSVhsv(222, 70%, 56%)
CMYKcmyk(69.7%, 48.6%, 0%, 44.3%)
CIE-LABlab(32.33, 13.16, -41.62)
CIE-LCHlch(32.33, 43.65, 287.55°)
OKLaboklab(42.11% -0.012 -0.1192)
OKLCHoklch(42.11% 0.12 264.2)
XYZxyz(8.2596, 7.2309, 26.5463)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B498E #8E702B
analogous
#2B7B8E #2B498E #3F2B8E
triadic
#2B498E #8E2B49 #498E2B
tetradic
#2B498E #8E2B7B #8E702B #2B8E3F
square
#2B498E #8E2B7B #8E702B #2B8E3F
split-complementary
#2B498E #8E3F2B #7B8E2B
monochromatic
#0F1930 #1D315F #2B498E #3961BD #6384D0

Accessibility & contrast

On white

8.58
#2B498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B498E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B498E#FFFFFF#000000##FFFFFF
##2B498E1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#0E488D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b498e;
/* rgb */ color: rgb(43, 73, 142);
/* oklch */ color: oklch(42.1% 0.120 264.2);
Tailwind
colors: {
  custom: {
    50: '#707baf',
    500: '#2b498e',
    950: '#000000',
  },
}
SCSS
$custom: #2b498e;
$custom-light: #707baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b498e",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 221.818,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42114,
    "c": 0.11984,
    "h": 264.2
  },
  "luminance": 0.07232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B498E

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

Preview Lab → · Contrast checker → · Palette generator →

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