#2C458A#2C458A

#2C458A is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.0% C 0.119 H 266.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2C458A
RGBrgb(44, 69, 138)
HSLhsl(224, 52%, 36%)
HSVhsv(224, 68%, 54%)
CMYKcmyk(68.1%, 50%, 0%, 45.9%)
CIE-LABlab(30.94, 14.51, -41.39)
CIE-LCHlch(30.94, 43.86, 289.32°)
OKLaboklab(40.98% -0.0077 -0.1186)
OKLCHoklch(40.98% 0.119 266.3)
XYZxyz(7.7527, 6.6260, 24.9102)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C458A #8A712C
analogous
#2C748A #2C458A #422C8A
triadic
#2C458A #8A2C45 #458A2C
tetradic
#2C458A #8A2C74 #8A712C #2C8A42
square
#2C458A #8A2C74 #8A712C #2C8A42
split-complementary
#2C458A #8A422C #748A2C
monochromatic
#0E172D #1D2E5C #2C458A #3B5CB8 #637FCD

Accessibility & contrast

On white

9.03
#2C458A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C458A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C458A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C458A#FFFFFF#000000##FFFFFF
##2C458A1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8D
Deuteranopia (green-blind)
#084589
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c458a;
/* rgb */ color: rgb(44, 69, 138);
/* oklch */ color: oklch(41.0% 0.119 266.3);
Tailwind
colors: {
  custom: {
    50: '#7078ad',
    500: '#2c458a',
    950: '#000000',
  },
}
SCSS
$custom: #2c458a;
$custom-light: #7078ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c458a",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 224.043,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40982,
    "c": 0.11885,
    "h": 266.3
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#2C458A
secondary
#B49D5E
accent
#B54DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C458A

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

Preview Lab → · Contrast checker → · Palette generator →

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