#2C489B#2C489B

#2C489B is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.140 H 266.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2C489B
RGBrgb(44, 72, 155)
HSLhsl(225, 56%, 39%)
HSVhsv(225, 72%, 61%)
CMYKcmyk(71.6%, 53.5%, 0%, 39.2%)
CIE-LABlab(33.00, 18.96, -48.45)
CIE-LCHlch(33.00, 52.03, 291.37°)
OKLaboklab(42.93% -0.0086 -0.1393)
OKLCHoklch(42.93% 0.14 266.5)
XYZxyz(9.2704, 7.5358, 31.9700)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C489B #9B7F2C
analogous
#2C809B #2C489B #482C9B
triadic
#2C489B #9B2C48 #489B2C
tetradic
#2C489B #9B2C80 #9B7F2C #2C9B48
square
#2C489B #9B2C80 #9B7F2C #2C9B48
split-complementary
#2C489B #9B482C #809B2C
monochromatic
#111C3C #1E326B #2C489B #3C60C8 #6C87D5

Accessibility & contrast

On white

8.38
#2C489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2C489B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C489B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C489B#FFFFFF#000000##FFFFFF
##2C489B1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F539E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c489b;
/* rgb */ color: rgb(44, 72, 155);
/* oklch */ color: oklch(42.9% 0.140 266.5);
Tailwind
colors: {
  custom: {
    50: '#747ab9',
    500: '#2c489b',
    950: '#000000',
  },
}
SCSS
$custom: #2c489b;
$custom-light: #747ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c489b",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 224.865,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42927,
    "c": 0.1396,
    "h": 266.5
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C489B

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

Preview Lab → · Contrast checker → · Palette generator →

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