#2C457A#2C457A

#2C457A is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.095 H 263.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2C457A
RGBrgb(44, 69, 122)
HSLhsl(221, 47%, 33%)
HSVhsv(221, 64%, 48%)
CMYKcmyk(63.9%, 43.4%, 0%, 52.2%)
CIE-LABlab(29.90, 8.47, -33.11)
CIE-LCHlch(29.90, 34.18, 284.35°)
OKLaboklab(39.85% -0.0105 -0.0943)
OKLCHoklch(39.85% 0.095 263.6)
XYZxyz(6.6785, 6.1963, 19.2526)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C457A #7A612C
analogous
#2C6C7A #2C457A #3A2C7A
triadic
#2C457A #7A2C45 #457A2C
tetradic
#2C457A #7A2C6C #7A612C #2C7A3A
square
#2C457A #7A2C6C #7A612C #2C7A3A
split-complementary
#2C457A #7A3A2C #6C7A2C
monochromatic
#0C1220 #1C2C4D #2C457A #3C5EA7 #5C7EC4

Accessibility & contrast

On white

9.38
#2C457A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2C457A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C457A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C457A#FFFFFF#000000##FFFFFF
##2C457A1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#224379
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c457a;
/* rgb */ color: rgb(44, 69, 122);
/* oklch */ color: oklch(39.9% 0.095 263.6);
Tailwind
colors: {
  custom: {
    50: '#6d78a1',
    500: '#2c457a',
    950: '#000000',
  },
}
SCSS
$custom: #2c457a;
$custom-light: #6d78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c457a",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 122
  },
  "hsl": {
    "h": 220.769,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39851,
    "c": 0.09487,
    "h": 263.6
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#2C457A
secondary
#AA9057
accent
#AC51D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #2C457A

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

Preview Lab → · Contrast checker → · Palette generator →

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