#2D4E7A#2D4E7A

#2D4E7A is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.083 H 256.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2D4E7A
RGBrgb(45, 78, 122)
HSLhsl(214, 46%, 33%)
HSVhsv(214, 63%, 48%)
CMYKcmyk(63.1%, 36.1%, 0%, 52.2%)
CIE-LABlab(32.73, 2.69, -28.64)
CIE-LCHlch(32.73, 28.76, 275.37°)
OKLaboklab(42.06% -0.02 -0.081)
OKLCHoklch(42.06% 0.083 256.1)
XYZxyz(7.3182, 7.4111, 19.4534)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E7A #7A592D
analogous
#2D747A #2D4E7A #332D7A
triadic
#2D4E7A #7A2D4E #4E7A2D
tetradic
#2D4E7A #7A2D74 #7A592D #2D7A33
square
#2D4E7A #7A2D74 #7A592D #2D7A33
split-complementary
#2D4E7A #7A332D #747A2D
monochromatic
#0C1521 #1D314D #2D4E7A #3D6BA7 #5E89C4

Accessibility & contrast

On white

8.46
#2D4E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2D4E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E7A
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E7A#FFFFFF#000000##FFFFFF
##2D4E7A1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#314A79
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4e7a;
/* rgb */ color: rgb(45, 78, 122);
/* oklch */ color: oklch(42.1% 0.083 256.1);
Tailwind
colors: {
  custom: {
    50: '#6d7fa0',
    500: '#2d4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e7a;
$custom-light: #6d7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e7a",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 214.286,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42056,
    "c": 0.08349,
    "h": 256.1
  },
  "luminance": 0.07412
}

Semantic roles & 50–950 ramp

primary
#2D4E7A
secondary
#AA8759
accent
#9D52D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2D4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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