#2C457D#2C457D

#2C457D is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.099 H 264.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2C457D
RGBrgb(44, 69, 125)
HSLhsl(221, 48%, 33%)
HSVhsv(221, 65%, 49%)
CMYKcmyk(64.8%, 44.8%, 0%, 51%)
CIE-LABlab(30.09, 9.59, -34.69)
CIE-LCHlch(30.09, 35.99, 285.46°)
OKLaboklab(40.06% -0.0099 -0.0989)
OKLCHoklch(40.06% 0.099 264.3)
XYZxyz(6.8672, 6.2718, 20.2467)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C457D #7D642C
analogous
#2C6D7D #2C457D #3B2C7D
triadic
#2C457D #7D2C45 #457D2C
tetradic
#2C457D #7D2C6D #7D642C #2C7D3B
square
#2C457D #7D2C6D #7D642C #2C7D3B
split-complementary
#2C457D #7D3B2C #6D7D2C
monochromatic
#0C1322 #1C2C50 #2C457D #3C5EAA #5D7EC6

Accessibility & contrast

On white

9.32
#2C457D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C457D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C457D#FFFFFF#000000##FFFFFF
##2C457D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c457d;
/* rgb */ color: rgb(44, 69, 125);
/* oklch */ color: oklch(40.1% 0.099 264.3);
Tailwind
colors: {
  custom: {
    50: '#6e78a3',
    500: '#2c457d',
    950: '#000000',
  },
}
SCSS
$custom: #2c457d;
$custom-light: #6e78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c457d",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 221.481,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40055,
    "c": 0.0994,
    "h": 264.3
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#2C457D
secondary
#AC9259
accent
#AE50D8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C457D

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

Preview Lab → · Contrast checker → · Palette generator →

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