#2C458E#2C458E

#2C458E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.125 H 266.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2C458E
RGBrgb(44, 69, 142)
HSLhsl(225, 53%, 36%)
HSVhsv(225, 69%, 56%)
CMYKcmyk(69%, 51.4%, 0%, 44.3%)
CIE-LABlab(31.22, 16.04, -43.40)
CIE-LCHlch(31.22, 46.27, 290.28°)
OKLaboklab(41.28% -0.0072 -0.1245)
OKLCHoklch(41.28% 0.125 266.7)
XYZxyz(8.0476, 6.7439, 26.4635)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C458E #8E752C
analogous
#2C768E #2C458E #442C8E
triadic
#2C458E #8E2C45 #458E2C
tetradic
#2C458E #8E2C76 #8E752C #2C8E44
square
#2C458E #8E2C76 #8E752C #2C8E44
split-complementary
#2C458E #8E442C #768E2C
monochromatic
#0F1831 #1E2E5F #2C458E #3A5CBD #6580CF

Accessibility & contrast

On white

8.94
#2C458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C458E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C458E#FFFFFF#000000##FFFFFF
##2C458E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c458e;
/* rgb */ color: rgb(44, 69, 142);
/* oklch */ color: oklch(41.3% 0.125 266.7);
Tailwind
colors: {
  custom: {
    50: '#7178b0',
    500: '#2c458e',
    950: '#000000',
  },
}
SCSS
$custom: #2c458e;
$custom-light: #7178b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c458e",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 224.694,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41281,
    "c": 0.12474,
    "h": 266.7
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#2C458E
secondary
#B6A060
accent
#B74CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C458E

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

Preview Lab → · Contrast checker → · Palette generator →

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