#2C489E#2C489E

#2C489E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.144 H 266.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2C489E
RGBrgb(44, 72, 158)
HSLhsl(225, 56%, 40%)
HSVhsv(225, 72%, 62%)
CMYKcmyk(72.2%, 54.4%, 0%, 38%)
CIE-LABlab(33.22, 20.11, -49.91)
CIE-LCHlch(33.22, 53.81, 291.94°)
OKLaboklab(43.16% -0.0083 -0.1436)
OKLCHoklch(43.16% 0.144 266.7)
XYZxyz(9.5255, 7.6378, 33.3134)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C489E #9E822C
analogous
#2C819E #2C489E #492C9E
triadic
#2C489E #9E2C48 #489E2C
tetradic
#2C489E #9E2C81 #9E822C #2C9E49
square
#2C489E #9E2C81 #9E822C #2C9E49
split-complementary
#2C489E #9E492C #819E2C
monochromatic
#111C3E #1F326E #2C489E #3E60C9 #6E88D7

Accessibility & contrast

On white

8.31
#2C489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2C489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C489E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C489E#FFFFFF#000000##FFFFFF
##2C489E1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0754A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c489e;
/* rgb */ color: rgb(44, 72, 158);
/* oklch */ color: oklch(43.2% 0.144 266.7);
Tailwind
colors: {
  custom: {
    50: '#747abb',
    500: '#2c489e',
    950: '#000000',
  },
}
SCSS
$custom: #2c489e;
$custom-light: #747abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c489e",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 225.263,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43164,
    "c": 0.14386,
    "h": 266.7
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#2C489E
secondary
#BEA968
accent
#BA48E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2C489E

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

Preview Lab → · Contrast checker → · Palette generator →

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