#2C456F#2C456F

#2C456F is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.078 H 260.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2C456F
RGBrgb(44, 69, 111)
HSLhsl(218, 43%, 30%)
HSVhsv(218, 60%, 44%)
CMYKcmyk(60.4%, 37.8%, 0%, 56.5%)
CIE-LABlab(29.26, 4.40, -27.21)
CIE-LCHlch(29.26, 27.56, 279.18°)
OKLaboklab(39.14% -0.0132 -0.077)
OKLCHoklch(39.14% 0.078 260.3)
XYZxyz(6.0351, 5.9389, 15.8641)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C456F #6F562C
analogous
#2C666F #2C456F #342C6F
triadic
#2C456F #6F2C45 #456F2C
tetradic
#2C456F #6F2C66 #6F562C #2C6F34
square
#2C456F #6F2C66 #6F562C #2C6F34
split-complementary
#2C456F #6F342C #666F2C
monochromatic
#090F17 #1B2A43 #2C456F #3D609B #587EBD

Accessibility & contrast

On white

9.60
#2C456F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2C456F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C456F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C456F#FFFFFF#000000##FFFFFF
##2C456F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344871
Deuteranopia (green-blind)
#2B426E
Tritanopia (blue-blind)
#004E54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c456f;
/* rgb */ color: rgb(44, 69, 111);
/* oklch */ color: oklch(39.1% 0.078 260.3);
Tailwind
colors: {
  custom: {
    50: '#6b7898',
    500: '#2c456f',
    950: '#000000',
  },
}
SCSS
$custom: #2c456f;
$custom-light: #6b7898;
$custom-dark: #000000;
JSON
{
  "hex": "#2c456f",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 111
  },
  "hsl": {
    "h": 217.612,
    "s": 43.226,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39142,
    "c": 0.07812,
    "h": 260.3
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#2C456F
secondary
#A18556
accent
#A455D3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2C456F

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

Preview Lab → · Contrast checker → · Palette generator →

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