#2C458D#2C458D

#2C458D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.123 H 266.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2C458D
RGBrgb(44, 69, 141)
HSLhsl(225, 52%, 36%)
HSVhsv(225, 69%, 55%)
CMYKcmyk(68.8%, 51.1%, 0%, 44.7%)
CIE-LABlab(31.15, 15.66, -42.90)
CIE-LCHlch(31.15, 45.67, 290.05°)
OKLaboklab(41.21% -0.0073 -0.123)
OKLCHoklch(41.21% 0.123 266.6)
XYZxyz(7.9729, 6.7140, 26.0699)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C458D #8D742C
analogous
#2C768D #2C458D #442C8D
triadic
#2C458D #8D2C45 #458D2C
tetradic
#2C458D #8D2C76 #8D742C #2C8D44
square
#2C458D #8D2C76 #8D742C #2C8D44
split-complementary
#2C458D #8D442C #768D2C
monochromatic
#0F1730 #1D2E5E #2C458D #3B5CBC #6580CF

Accessibility & contrast

On white

8.96
#2C458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2C458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C458D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C458D#FFFFFF#000000##FFFFFF
##2C458D1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E90
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c458d;
/* rgb */ color: rgb(44, 69, 141);
/* oklch */ color: oklch(41.2% 0.123 266.6);
Tailwind
colors: {
  custom: {
    50: '#7178af',
    500: '#2c458d',
    950: '#000000',
  },
}
SCSS
$custom: #2c458d;
$custom-light: #7178af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c458d",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 224.536,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41206,
    "c": 0.12327,
    "h": 266.6
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#2C458D
secondary
#B59F60
accent
#B74CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C458D

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

Preview Lab → · Contrast checker → · Palette generator →

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