#2C498D#2C498D

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

Color values

HEX#2C498D
RGBrgb(44, 73, 141)
HSLhsl(222, 52%, 36%)
HSVhsv(222, 69%, 55%)
CMYKcmyk(68.8%, 48.2%, 0%, 44.7%)
CIE-LABlab(32.31, 12.95, -41.03)
CIE-LCHlch(32.31, 43.03, 287.52°)
OKLaboklab(42.09% -0.0113 -0.1175)
OKLCHoklch(42.09% 0.118 264.5)
XYZxyz(8.2273, 7.2228, 26.1547)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C498D #8D702C
analogous
#2C7A8D #2C498D #402C8D
triadic
#2C498D #8D2C49 #498D2C
tetradic
#2C498D #8D2C7A #8D702C #2C8D40
square
#2C498D #8D2C7A #8D702C #2C8D40
split-complementary
#2C498D #8D402C #7A8D2C
monochromatic
#0F1930 #1D315E #2C498D #3B61BC #6584CF

Accessibility & contrast

On white

8.59
#2C498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C498D
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C498D#FFFFFF#000000##FFFFFF
##2C498D1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#12488C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c498d;
/* rgb */ color: rgb(44, 73, 141);
/* oklch */ color: oklch(42.1% 0.118 264.5);
Tailwind
colors: {
  custom: {
    50: '#717baf',
    500: '#2c498d',
    950: '#000000',
  },
}
SCSS
$custom: #2c498d;
$custom-light: #717baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c498d",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 222.062,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.11803,
    "h": 264.5
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#2C498D
secondary
#B59C60
accent
#B14CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C498D

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

Preview Lab → · Contrast checker → · Palette generator →

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