#2C459B#2C459B

#2C459B is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.143 H 267.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2C459B
RGBrgb(44, 69, 155)
HSLhsl(226, 56%, 39%)
HSVhsv(226, 72%, 61%)
CMYKcmyk(71.6%, 55.5%, 0%, 39.2%)
CIE-LABlab(32.16, 20.98, -49.80)
CIE-LCHlch(32.16, 54.04, 292.85°)
OKLaboklab(42.3% -0.006 -0.1434)
OKLCHoklch(42.3% 0.143 267.6)
XYZxyz(9.0812, 7.1574, 31.9069)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C459B #9B822C
analogous
#2C7D9B #2C459B #4A2C9B
triadic
#2C459B #9B2C45 #459B2C
tetradic
#2C459B #9B2C7D #9B822C #2C9B4A
square
#2C459B #9B2C7D #9B822C #2C9B4A
split-complementary
#2C459B #9B4A2C #7D9B2C
monochromatic
#111B3C #1E306B #2C459B #3C5CC8 #6C84D5

Accessibility & contrast

On white

8.64
#2C459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2C459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C459B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C459B#FFFFFF#000000##FFFFFF
##2C459B1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c459b;
/* rgb */ color: rgb(44, 69, 155);
/* oklch */ color: oklch(42.3% 0.143 267.6);
Tailwind
colors: {
  custom: {
    50: '#7478b9',
    500: '#2c459b',
    950: '#000000',
  },
}
SCSS
$custom: #2c459b;
$custom-light: #7478b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c459b",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 226.486,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42297,
    "c": 0.14349,
    "h": 267.6
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#2C459B
secondary
#BCA967
accent
#BD49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C459B

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

Preview Lab → · Contrast checker → · Palette generator →

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