#2C458B#2C458B

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

Color values

HEX#2C458B
RGBrgb(44, 69, 139)
HSLhsl(224, 52%, 36%)
HSVhsv(224, 68%, 55%)
CMYKcmyk(68.3%, 50.4%, 0%, 45.5%)
CIE-LABlab(31.01, 14.89, -41.90)
CIE-LCHlch(31.01, 44.46, 289.57°)
OKLaboklab(41.06% -0.0076 -0.1201)
OKLCHoklch(41.06% 0.12 266.4)
XYZxyz(7.8254, 6.6551, 25.2932)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C458B #8B722C
analogous
#2C748B #2C458B #422C8B
triadic
#2C458B #8B2C45 #458B2C
tetradic
#2C458B #8B2C74 #8B722C #2C8B42
square
#2C458B #8B2C74 #8B722C #2C8B42
split-complementary
#2C458B #8B422C #748B2C
monochromatic
#0F172E #1D2E5D #2C458B #3B5CB9 #6480CE

Accessibility & contrast

On white

9.01
#2C458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C458B
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C458B#FFFFFF#000000##FFFFFF
##2C458B1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#05458A
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c458b;
/* rgb */ color: rgb(44, 69, 139);
/* oklch */ color: oklch(41.1% 0.120 266.4);
Tailwind
colors: {
  custom: {
    50: '#7078ad',
    500: '#2c458b',
    950: '#000000',
  },
}
SCSS
$custom: #2c458b;
$custom-light: #7078ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c458b",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 224.211,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41056,
    "c": 0.12033,
    "h": 266.4
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#2C458B
secondary
#B49E5F
accent
#B64CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C458B

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

Preview Lab → · Contrast checker → · Palette generator →

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