#2C458C#2C458C

#2C458C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.122 H 266.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2C458C
RGBrgb(44, 69, 140)
HSLhsl(224, 52%, 36%)
HSVhsv(224, 69%, 55%)
CMYKcmyk(68.6%, 50.7%, 0%, 45.1%)
CIE-LABlab(31.08, 15.28, -42.40)
CIE-LCHlch(31.08, 45.07, 289.81°)
OKLaboklab(41.13% -0.0075 -0.1216)
OKLCHoklch(41.13% 0.122 266.5)
XYZxyz(7.8988, 6.6844, 25.6798)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C458C #8C732C
analogous
#2C758C #2C458C #432C8C
triadic
#2C458C #8C2C45 #458C2C
tetradic
#2C458C #8C2C75 #8C732C #2C8C43
square
#2C458C #8C2C75 #8C732C #2C8C43
split-complementary
#2C458C #8C432C #758C2C
monochromatic
#0F172F #1D2E5D #2C458C #3B5CBB #6480CE

Accessibility & contrast

On white

8.99
#2C458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C458C
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C458C#FFFFFF#000000##FFFFFF
##2C458C1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#02458B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c458c;
/* rgb */ color: rgb(44, 69, 140);
/* oklch */ color: oklch(41.1% 0.122 266.5);
Tailwind
colors: {
  custom: {
    50: '#7178ae',
    500: '#2c458c',
    950: '#000000',
  },
}
SCSS
$custom: #2c458c;
$custom-light: #7178ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c458c",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 224.375,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4113,
    "c": 0.1218,
    "h": 266.5
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#2C458C
secondary
#B59E5F
accent
#B64CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C458C

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

Preview Lab → · Contrast checker → · Palette generator →

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