#2C459C#2C459C

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

Color values

HEX#2C459C
RGBrgb(44, 69, 156)
HSLhsl(227, 56%, 39%)
HSVhsv(227, 72%, 61%)
CMYKcmyk(71.8%, 55.8%, 0%, 38.8%)
CIE-LABlab(32.24, 21.36, -50.29)
CIE-LCHlch(32.24, 54.64, 293.02°)
OKLaboklab(42.38% -0.0059 -0.1448)
OKLCHoklch(42.38% 0.145 267.7)
XYZxyz(9.1655, 7.1911, 32.3510)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C459C #9C832C
analogous
#2C7D9C #2C459C #4B2C9C
triadic
#2C459C #9C2C45 #459C2C
tetradic
#2C459C #9C2C7D #9C832C #2C9C4B
square
#2C459C #9C2C7D #9C832C #2C9C4B
split-complementary
#2C459C #9C4B2C #7D9C2C
monochromatic
#111B3D #1F306C #2C459C #3D5CC8 #6D84D6

Accessibility & contrast

On white

8.61
#2C459C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2C459C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C459C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C459C#FFFFFF#000000##FFFFFF
##2C459C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c459c;
/* rgb */ color: rgb(44, 69, 156);
/* oklch */ color: oklch(42.4% 0.145 267.7);
Tailwind
colors: {
  custom: {
    50: '#7478ba',
    500: '#2c459c',
    950: '#000000',
  },
}
SCSS
$custom: #2c459c;
$custom-light: #7478ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c459c",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 226.607,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42378,
    "c": 0.1449,
    "h": 267.7
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#2C459C
secondary
#BDAA67
accent
#BE49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C459C

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

Preview Lab → · Contrast checker → · Palette generator →

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