#2C457C#2C457C

#2C457C is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.098 H 264.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2C457C
RGBrgb(44, 69, 124)
HSLhsl(221, 48%, 33%)
HSVhsv(221, 65%, 49%)
CMYKcmyk(64.5%, 44.4%, 0%, 51.4%)
CIE-LABlab(30.03, 9.22, -34.17)
CIE-LCHlch(30.03, 35.39, 285.10°)
OKLaboklab(39.99% -0.0101 -0.0974)
OKLCHoklch(39.99% 0.098 264.1)
XYZxyz(6.8037, 6.2463, 19.9120)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C457C #7C632C
analogous
#2C6D7C #2C457C #3B2C7C
triadic
#2C457C #7C2C45 #457C2C
tetradic
#2C457C #7C2C6D #7C632C #2C7C3B
square
#2C457C #7C2C6D #7C632C #2C7C3B
split-complementary
#2C457C #7C3B2C #6D7C2C
monochromatic
#0C1322 #1C2C4F #2C457C #3C5EA9 #5D7EC5

Accessibility & contrast

On white

9.34
#2C457C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2C457C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C457C
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C457C#FFFFFF#000000##FFFFFF
##2C457C1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#20437B
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c457c;
/* rgb */ color: rgb(44, 69, 124);
/* oklch */ color: oklch(40.0% 0.098 264.1);
Tailwind
colors: {
  custom: {
    50: '#6d78a2',
    500: '#2c457c',
    950: '#000000',
  },
}
SCSS
$custom: #2c457c;
$custom-light: #6d78a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c457c",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 124
  },
  "hsl": {
    "h": 221.25,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39986,
    "c": 0.09789,
    "h": 264.1
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#2C457C
secondary
#AC9258
accent
#AD51D7
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C457C

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

Preview Lab → · Contrast checker → · Palette generator →

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