#2C488C#2C488C

#2C488C is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.118 H 264.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2C488C
RGBrgb(44, 72, 140)
HSLhsl(223, 52%, 36%)
HSVhsv(223, 69%, 55%)
CMYKcmyk(68.6%, 48.6%, 0%, 45.1%)
CIE-LABlab(31.95, 13.24, -41.00)
CIE-LCHlch(31.95, 43.08, 287.90°)
OKLaboklab(41.8% -0.0104 -0.1174)
OKLCHoklch(41.8% 0.118 264.9)
XYZxyz(8.0880, 7.0629, 25.7429)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C488C #8C702C
analogous
#2C788C #2C488C #402C8C
triadic
#2C488C #8C2C48 #488C2C
tetradic
#2C488C #8C2C78 #8C702C #2C8C40
square
#2C488C #8C2C78 #8C702C #2C8C40
split-complementary
#2C488C #8C402C #788C2C
monochromatic
#0F182F #1D305D #2C488C #3B60BB #6483CE

Accessibility & contrast

On white

8.70
#2C488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2C488C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C488C
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C488C#FFFFFF#000000##FFFFFF
##2C488C1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#10478B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c488c;
/* rgb */ color: rgb(44, 72, 140);
/* oklch */ color: oklch(41.8% 0.118 264.9);
Tailwind
colors: {
  custom: {
    50: '#707aae',
    500: '#2c488c',
    950: '#000000',
  },
}
SCSS
$custom: #2c488c;
$custom-light: #707aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c488c",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 222.5,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41796,
    "c": 0.11786,
    "h": 264.9
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#2C488C
secondary
#B59C5F
accent
#B24CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C488C

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

Preview Lab → · Contrast checker → · Palette generator →

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