#2D4E7C#2D4E7C

#2D4E7C is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.086 H 257.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2D4E7C
RGBrgb(45, 78, 124)
HSLhsl(215, 47%, 33%)
HSVhsv(215, 64%, 49%)
CMYKcmyk(63.7%, 37.1%, 0%, 51.4%)
CIE-LABlab(32.83, 3.42, -29.71)
CIE-LCHlch(32.83, 29.90, 276.58°)
OKLaboklab(42.18% -0.0195 -0.0842)
OKLCHoklch(42.18% 0.086 257)
XYZxyz(7.4434, 7.4612, 20.1128)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E7C #7C5B2D
analogous
#2D757C #2D4E7C #332D7C
triadic
#2D4E7C #7C2D4E #4E7C2D
tetradic
#2D4E7C #7C2D75 #7C5B2D #2D7C33
square
#2D4E7C #7C2D75 #7C5B2D #2D7C33
split-complementary
#2D4E7C #7C332D #757C2D
monochromatic
#0C1622 #1D324F #2D4E7C #3D6AA9 #5F89C5

Accessibility & contrast

On white

8.43
#2D4E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2D4E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E7C
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E7C#FFFFFF#000000##FFFFFF
##2D4E7C1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4e7c;
/* rgb */ color: rgb(45, 78, 124);
/* oklch */ color: oklch(42.2% 0.086 257.0);
Tailwind
colors: {
  custom: {
    50: '#6e7fa2',
    500: '#2d4e7c',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e7c;
$custom-light: #6e7fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e7c",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 214.937,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42177,
    "c": 0.08639,
    "h": 257
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#2D4E7C
secondary
#AB895A
accent
#9F51D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D4E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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