#2D4E7B#2D4E7B

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

Color values

HEX#2D4E7B
RGBrgb(45, 78, 123)
HSLhsl(215, 46%, 33%)
HSVhsv(215, 63%, 48%)
CMYKcmyk(63.4%, 36.6%, 0%, 51.8%)
CIE-LABlab(32.78, 3.06, -29.17)
CIE-LCHlch(32.78, 29.33, 275.98°)
OKLaboklab(42.12% -0.0198 -0.0826)
OKLCHoklch(42.12% 0.085 256.5)
XYZxyz(7.3805, 7.4361, 19.7814)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E7B #7B5A2D
analogous
#2D757B #2D4E7B #332D7B
triadic
#2D4E7B #7B2D4E #4E7B2D
tetradic
#2D4E7B #7B2D75 #7B5A2D #2D7B33
square
#2D4E7B #7B2D75 #7B5A2D #2D7B33
split-complementary
#2D4E7B #7B332D #757B2D
monochromatic
#0C1521 #1D324E #2D4E7B #3D6AA8 #5E89C4

Accessibility & contrast

On white

8.44
#2D4E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4E7B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E7B#FFFFFF#000000##FFFFFF
##2D4E7B1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#304A7A
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4e7b;
/* rgb */ color: rgb(45, 78, 123);
/* oklch */ color: oklch(42.1% 0.085 256.5);
Tailwind
colors: {
  custom: {
    50: '#6e7fa1',
    500: '#2d4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e7b;
$custom-light: #6e7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e7b",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 214.615,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.08494,
    "h": 256.5
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#2D4E7B
secondary
#AB8859
accent
#9E52D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0F
muted
#7B7C7E

Preview Lab

Preview with #2D4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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