#2C457E#2C457E

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

Color values

HEX#2C457E
RGBrgb(44, 69, 126)
HSLhsl(222, 48%, 33%)
HSVhsv(222, 65%, 49%)
CMYKcmyk(65.1%, 45.2%, 0%, 50.6%)
CIE-LABlab(30.15, 9.97, -35.22)
CIE-LCHlch(30.15, 36.60, 285.81°)
OKLaboklab(40.12% -0.0097 -0.1004)
OKLCHoklch(40.12% 0.101 264.5)
XYZxyz(6.9314, 6.2975, 20.5849)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C457E #7E652C
analogous
#2C6E7E #2C457E #3C2C7E
triadic
#2C457E #7E2C45 #457E2C
tetradic
#2C457E #7E2C6E #7E652C #2C7E3C
square
#2C457E #7E2C6E #7E652C #2C7E3C
split-complementary
#2C457E #7E3C2C #6E7E2C
monochromatic
#0C1323 #1C2C51 #2C457E #3C5EAB #5E7EC7

Accessibility & contrast

On white

9.29
#2C457E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C457E
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C457E#FFFFFF#000000##FFFFFF
##2C457E1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c457e;
/* rgb */ color: rgb(44, 69, 126);
/* oklch */ color: oklch(40.1% 0.101 264.5);
Tailwind
colors: {
  custom: {
    50: '#6e78a4',
    500: '#2c457e',
    950: '#000000',
  },
}
SCSS
$custom: #2c457e;
$custom-light: #6e78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c457e",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 221.707,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40123,
    "c": 0.10092,
    "h": 264.5
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C457E

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

Preview Lab → · Contrast checker → · Palette generator →

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