#2C459D#2C459D

#2C459D is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.146 H 267.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2C459D
RGBrgb(44, 69, 157)
HSLhsl(227, 56%, 39%)
HSVhsv(227, 72%, 62%)
CMYKcmyk(72%, 56.1%, 0%, 38.4%)
CIE-LABlab(32.31, 21.74, -50.77)
CIE-LCHlch(32.31, 55.23, 293.18°)
OKLaboklab(42.46% -0.0059 -0.1462)
OKLCHoklch(42.46% 0.146 267.7)
XYZxyz(9.2505, 7.2251, 32.7988)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C459D #9D842C
analogous
#2C7E9D #2C459D #4C2C9D
triadic
#2C459D #9D2C45 #459D2C
tetradic
#2C459D #9D2C7E #9D842C #2C9D4C
square
#2C459D #9D2C7E #9D842C #2C9D4C
split-complementary
#2C459D #9D4C2C #7E9D2C
monochromatic
#111B3D #1F306D #2C459D #3D5CC9 #6D84D6

Accessibility & contrast

On white

8.59
#2C459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C459D
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C459D#FFFFFF#000000##FFFFFF
##2C459D1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c459d;
/* rgb */ color: rgb(44, 69, 157);
/* oklch */ color: oklch(42.5% 0.146 267.7);
Tailwind
colors: {
  custom: {
    50: '#7478bb',
    500: '#2c459d',
    950: '#000000',
  },
}
SCSS
$custom: #2c459d;
$custom-light: #7478bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c459d",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 226.726,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42459,
    "c": 0.14632,
    "h": 267.7
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#2C459D
secondary
#BDAA68
accent
#BE48E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C459D

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

Preview Lab → · Contrast checker → · Palette generator →

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