#2C459E#2C459E

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

Color values

HEX#2C459E
RGBrgb(44, 69, 158)
HSLhsl(227, 56%, 40%)
HSVhsv(227, 72%, 62%)
CMYKcmyk(72.2%, 56.3%, 0%, 38%)
CIE-LABlab(32.39, 22.12, -51.25)
CIE-LCHlch(32.39, 55.82, 293.35°)
OKLaboklab(42.54% -0.0058 -0.1476)
OKLCHoklch(42.54% 0.148 267.7)
XYZxyz(9.3362, 7.2594, 33.2503)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C459E #9E852C
analogous
#2C7E9E #2C459E #4C2C9E
triadic
#2C459E #9E2C45 #459E2C
tetradic
#2C459E #9E2C7E #9E852C #2C9E4C
square
#2C459E #9E2C7E #9E852C #2C9E4C
split-complementary
#2C459E #9E4C2C #7E9E2C
monochromatic
#111B3E #1F306E #2C459E #3E5DC9 #6E85D7

Accessibility & contrast

On white

8.56
#2C459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C459E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C459E#FFFFFF#000000##FFFFFF
##2C459E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c459e;
/* rgb */ color: rgb(44, 69, 158);
/* oklch */ color: oklch(42.5% 0.148 267.7);
Tailwind
colors: {
  custom: {
    50: '#7578bb',
    500: '#2c459e',
    950: '#000000',
  },
}
SCSS
$custom: #2c459e;
$custom-light: #7578bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c459e",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 226.842,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42541,
    "c": 0.14772,
    "h": 267.7
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C459E

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

Preview Lab → · Contrast checker → · Palette generator →

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