#2C489A#2C489A

#2C489A is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.138 H 266.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2C489A
RGBrgb(44, 72, 154)
HSLhsl(225, 56%, 39%)
HSVhsv(225, 71%, 60%)
CMYKcmyk(71.4%, 53.2%, 0%, 39.6%)
CIE-LABlab(32.92, 18.58, -47.96)
CIE-LCHlch(32.92, 51.44, 291.18°)
OKLaboklab(42.85% -0.0087 -0.1379)
OKLCHoklch(42.85% 0.138 266.4)
XYZxyz(9.1868, 7.5024, 31.5295)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C489A #9A7E2C
analogous
#2C7F9A #2C489A #472C9A
triadic
#2C489A #9A2C48 #489A2C
tetradic
#2C489A #9A2C7F #9A7E2C #2C9A47
square
#2C489A #9A2C7F #9A7E2C #2C9A47
split-complementary
#2C489A #9A472C #7F9A2C
monochromatic
#111B3B #1E326A #2C489A #3C5FC7 #6C86D5

Accessibility & contrast

On white

8.40
#2C489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2C489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C489A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C489A#FFFFFF#000000##FFFFFF
##2C489A1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c489a;
/* rgb */ color: rgb(44, 72, 154);
/* oklch */ color: oklch(42.8% 0.138 266.4);
Tailwind
colors: {
  custom: {
    50: '#747ab8',
    500: '#2c489a',
    950: '#000000',
  },
}
SCSS
$custom: #2c489a;
$custom-light: #747ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c489a",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 224.727,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42849,
    "c": 0.13817,
    "h": 266.4
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#2C489A
secondary
#BCA666
accent
#B949DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C489A

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

Preview Lab → · Contrast checker → · Palette generator →

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