#2D5E7B#2D5E7B

#2D5E7B is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.1% C 0.071 H 237.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2D5E7B
RGBrgb(45, 94, 123)
HSLhsl(202, 46%, 33%)
HSVhsv(202, 63%, 48%)
CMYKcmyk(63.4%, 23.6%, 0%, 51.8%)
CIE-LABlab(37.83, -7.04, -21.27)
CIE-LCHlch(37.83, 22.41, 251.68°)
OKLaboklab(46.09% -0.0386 -0.0596)
OKLCHoklch(46.09% 0.071 237.1)
XYZxyz(8.6587, 9.9925, 20.2075)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E7B #7B4A2D
analogous
#2D7B71 #2D5E7B #2D377B
triadic
#2D5E7B #7B2D5E #5E7B2D
tetradic
#2D5E7B #712D7B #7B4A2D #377B2D
square
#2D5E7B #712D7B #7B4A2D #377B2D
split-complementary
#2D5E7B #7B2D37 #7B712D
monochromatic
#0C1A21 #1D3C4E #2D5E7B #3D80A8 #5E9EC4

Accessibility & contrast

On white

7.00
#2D5E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2D5E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5E7B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E7B#FFFFFF#000000##FFFFFF
##2D5E7B1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7C
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#006568
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d5e7b;
/* rgb */ color: rgb(45, 94, 123);
/* oklch */ color: oklch(46.1% 0.071 237.1);
Tailwind
colors: {
  custom: {
    50: '#6e8ba1',
    500: '#2d5e7b',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e7b;
$custom-light: #6e8ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e7b",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 123
  },
  "hsl": {
    "h": 202.308,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46091,
    "c": 0.07101,
    "h": 237.1
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#2D5E7B
secondary
#AB7759
accent
#8352D6
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080C0F
muted
#7B7D7E

Preview Lab

Preview with #2D5E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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