#2C498E#2C498E

#2C498E is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.2% C 0.119 H 264.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2C498E
RGBrgb(44, 73, 142)
HSLhsl(222, 53%, 36%)
HSVhsv(222, 69%, 56%)
CMYKcmyk(69%, 48.6%, 0%, 44.3%)
CIE-LABlab(32.38, 13.33, -41.54)
CIE-LCHlch(32.38, 43.63, 287.79°)
OKLaboklab(42.17% -0.0111 -0.119)
OKLCHoklch(42.17% 0.12 264.7)
XYZxyz(8.3020, 7.2527, 26.5483)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C498E #8E712C
analogous
#2C7A8E #2C498E #402C8E
triadic
#2C498E #8E2C49 #498E2C
tetradic
#2C498E #8E2C7A #8E712C #2C8E40
square
#2C498E #8E2C7A #8E712C #2C8E40
split-complementary
#2C498E #8E402C #7A8E2C
monochromatic
#0F1931 #1E315F #2C498E #3A61BD #6585CF

Accessibility & contrast

On white

8.57
#2C498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2C498E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C498E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C498E#FFFFFF#000000##FFFFFF
##2C498E1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#0F488D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c498e;
/* rgb */ color: rgb(44, 73, 142);
/* oklch */ color: oklch(42.2% 0.119 264.7);
Tailwind
colors: {
  custom: {
    50: '#717baf',
    500: '#2c498e',
    950: '#000000',
  },
}
SCSS
$custom: #2c498e;
$custom-light: #717baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c498e",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 222.245,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42165,
    "c": 0.1195,
    "h": 264.7
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#2C498E
secondary
#B69C60
accent
#B14CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C498E

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

Preview Lab → · Contrast checker → · Palette generator →

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