#2C498C#2C498C

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

Color values

HEX#2C498C
RGBrgb(44, 73, 140)
HSLhsl(222, 52%, 36%)
HSVhsv(222, 69%, 55%)
CMYKcmyk(68.6%, 47.9%, 0%, 45.1%)
CIE-LABlab(32.24, 12.57, -40.53)
CIE-LCHlch(32.24, 42.43, 287.23°)
OKLaboklab(42.02% -0.0114 -0.116)
OKLCHoklch(42.02% 0.117 264.4)
XYZxyz(8.1532, 7.1932, 25.7646)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C498C #8C6F2C
analogous
#2C798C #2C498C #3F2C8C
triadic
#2C498C #8C2C49 #498C2C
tetradic
#2C498C #8C2C79 #8C6F2C #2C8C3F
square
#2C498C #8C2C79 #8C6F2C #2C8C3F
split-complementary
#2C498C #8C3F2C #798C2C
monochromatic
#0F182F #1D315D #2C498C #3B61BB #6484CE

Accessibility & contrast

On white

8.61
#2C498C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C498C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C498C#FFFFFF#000000##FFFFFF
##2C498C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c498c;
/* rgb */ color: rgb(44, 73, 140);
/* oklch */ color: oklch(42.0% 0.117 264.4);
Tailwind
colors: {
  custom: {
    50: '#707bae',
    500: '#2c498c',
    950: '#000000',
  },
}
SCSS
$custom: #2c498c;
$custom-light: #707bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c498c",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 221.875,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4202,
    "c": 0.11656,
    "h": 264.4
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#2C498C
secondary
#B59B5F
accent
#B04CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C498C

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

Preview Lab → · Contrast checker → · Palette generator →

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