#2C459F#2C459F

#2C459F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.149 H 267.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2C459F
RGBrgb(44, 69, 159)
HSLhsl(227, 57%, 40%)
HSVhsv(227, 72%, 62%)
CMYKcmyk(72.3%, 56.6%, 0%, 37.6%)
CIE-LABlab(32.47, 22.50, -51.73)
CIE-LCHlch(32.47, 56.41, 293.51°)
OKLaboklab(42.62% -0.0058 -0.149)
OKLCHoklch(42.62% 0.149 267.8)
XYZxyz(9.4227, 7.2940, 33.7055)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C459F #9F862C
analogous
#2C7E9F #2C459F #4D2C9F
triadic
#2C459F #9F2C45 #459F2C
tetradic
#2C459F #9F2C7E #9F862C #2C9F4D
square
#2C459F #9F2C7E #9F862C #2C9F4D
split-complementary
#2C459F #9F4D2C #7E9F2C
monochromatic
#111B3F #1F306F #2C459F #3E5DCA #6E85D7

Accessibility & contrast

On white

8.54
#2C459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2C459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C459F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C459F#FFFFFF#000000##FFFFFF
##2C459F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c459f;
/* rgb */ color: rgb(44, 69, 159);
/* oklch */ color: oklch(42.6% 0.149 267.8);
Tailwind
colors: {
  custom: {
    50: '#7578bc',
    500: '#2c459f',
    950: '#000000',
  },
}
SCSS
$custom: #2c459f;
$custom-light: #7578bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c459f",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 226.957,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42623,
    "c": 0.14913,
    "h": 267.8
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

primary
#2C459F
secondary
#BEAC69
accent
#BF48E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C459F

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

Preview Lab → · Contrast checker → · Palette generator →

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