#2C457F#2C457F

#2C457F is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.102 H 264.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2C457F
RGBrgb(44, 69, 127)
HSLhsl(222, 49%, 34%)
HSVhsv(222, 65%, 50%)
CMYKcmyk(65.4%, 45.7%, 0%, 50.2%)
CIE-LABlab(30.21, 10.35, -35.74)
CIE-LCHlch(30.21, 37.21, 286.15°)
OKLaboklab(40.19% -0.0095 -0.102)
OKLCHoklch(40.19% 0.102 264.7)
XYZxyz(6.9963, 6.3234, 20.9264)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C457F #7F662C
analogous
#2C6E7F #2C457F #3C2C7F
triadic
#2C457F #7F2C45 #457F2C
tetradic
#2C457F #7F2C6E #7F662C #2C7F3C
square
#2C457F #7F2C6E #7F662C #2C7F3C
split-complementary
#2C457F #7F3C2C #6E7F2C
monochromatic
#0D1424 #1C2C52 #2C457F #3C5EAC #5E7EC7

Accessibility & contrast

On white

9.27
#2C457F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2C457F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C457F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C457F#FFFFFF#000000##FFFFFF
##2C457F1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#1D447E
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c457f;
/* rgb */ color: rgb(44, 69, 127);
/* oklch */ color: oklch(40.2% 0.102 264.7);
Tailwind
colors: {
  custom: {
    50: '#6e78a4',
    500: '#2c457f',
    950: '#000000',
  },
}
SCSS
$custom: #2c457f;
$custom-light: #6e78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c457f",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 221.928,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40192,
    "c": 0.10242,
    "h": 264.7
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#2C457F
secondary
#AD9459
accent
#AF50D8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C457F

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

Preview Lab → · Contrast checker → · Palette generator →

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