#2C488B#2C488B

#2C488B is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.7% C 0.116 H 264.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2C488B
RGBrgb(44, 72, 139)
HSLhsl(222, 52%, 36%)
HSVhsv(222, 68%, 55%)
CMYKcmyk(68.3%, 48.2%, 0%, 45.5%)
CIE-LABlab(31.88, 12.86, -40.49)
CIE-LCHlch(31.88, 42.48, 287.62°)
OKLaboklab(41.72% -0.0106 -0.1159)
OKLCHoklch(41.72% 0.116 264.8)
XYZxyz(8.0146, 7.0335, 25.3563)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C488B #8B6F2C
analogous
#2C778B #2C488B #3F2C8B
triadic
#2C488B #8B2C48 #488B2C
tetradic
#2C488B #8B2C77 #8B6F2C #2C8B3F
square
#2C488B #8B2C77 #8B6F2C #2C8B3F
split-complementary
#2C488B #8B3F2C #778B2C
monochromatic
#0F182E #1D305D #2C488B #3B60B9 #6483CE

Accessibility & contrast

On white

8.73
#2C488B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C488B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C488B#FFFFFF#000000##FFFFFF
##2C488B1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508D
Deuteranopia (green-blind)
#12478A
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c488b;
/* rgb */ color: rgb(44, 72, 139);
/* oklch */ color: oklch(41.7% 0.116 264.8);
Tailwind
colors: {
  custom: {
    50: '#707aad',
    500: '#2c488b',
    950: '#000000',
  },
}
SCSS
$custom: #2c488b;
$custom-light: #707aad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c488b",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 222.316,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41724,
    "c": 0.11638,
    "h": 264.8
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#2C488B
secondary
#B49B5F
accent
#B14CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C488B

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

Preview Lab → · Contrast checker → · Palette generator →

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