#2C498B#2C498B

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

Color values

HEX#2C498B
RGBrgb(44, 73, 139)
HSLhsl(222, 52%, 36%)
HSVhsv(222, 68%, 55%)
CMYKcmyk(68.3%, 47.5%, 0%, 45.5%)
CIE-LABlab(32.18, 12.19, -40.02)
CIE-LCHlch(32.18, 41.83, 286.94°)
OKLaboklab(41.95% -0.0116 -0.1145)
OKLCHoklch(41.95% 0.115 264.2)
XYZxyz(8.0798, 7.1639, 25.3780)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C498B #8B6E2C
analogous
#2C788B #2C498B #3E2C8B
triadic
#2C498B #8B2C49 #498B2C
tetradic
#2C498B #8B2C78 #8B6E2C #2C8B3E
square
#2C498B #8B2C78 #8B6E2C #2C8B3E
split-complementary
#2C498B #8B3E2C #788B2C
monochromatic
#0F182E #1D315D #2C498B #3B61B9 #6484CE

Accessibility & contrast

On white

8.63
#2C498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2C498B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C498B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C498B#FFFFFF#000000##FFFFFF
##2C498B1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#15488A
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c498b;
/* rgb */ color: rgb(44, 73, 139);
/* oklch */ color: oklch(41.9% 0.115 264.2);
Tailwind
colors: {
  custom: {
    50: '#707bad',
    500: '#2c498b',
    950: '#000000',
  },
}
SCSS
$custom: #2c498b;
$custom-light: #707bad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c498b",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 221.684,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41949,
    "c": 0.11509,
    "h": 264.2
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

primary
#2C498B
secondary
#B49A5F
accent
#B04CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C498B

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

Preview Lab → · Contrast checker → · Palette generator →

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