#2D5A8F#2D5A8F

#2D5A8F is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.2% C 0.100 H 254.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2D5A8F
RGBrgb(45, 90, 143)
HSLhsl(212, 52%, 37%)
HSVhsv(212, 69%, 56%)
CMYKcmyk(68.5%, 37.1%, 0%, 43.9%)
CIE-LABlab(37.58, 2.68, -33.85)
CIE-LCHlch(37.58, 33.96, 274.53°)
OKLaboklab(46.22% -0.0276 -0.0961)
OKLCHoklch(46.22% 0.1 254)
XYZxyz(9.6945, 9.8524, 27.3721)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5A8F #8F622D
analogous
#2D8B8F #2D5A8F #312D8F
triadic
#2D5A8F #8F2D5A #5A8F2D
tetradic
#2D5A8F #8F2D8B #8F622D #2D8F31
square
#2D5A8F #8F2D8B #8F622D #2D8F31
split-complementary
#2D5A8F #8F312D #8B8F2D
monochromatic
#101F32 #1E3D60 #2D5A8F #3C77BE #6797CF

Accessibility & contrast

On white

7.07
#2D5A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2D5A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5A8F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5A8F#FFFFFF#000000##FFFFFF
##2D5A8F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D91
Deuteranopia (green-blind)
#35548E
Tritanopia (blue-blind)
#00666D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d5a8f;
/* rgb */ color: rgb(45, 90, 143);
/* oklch */ color: oklch(46.2% 0.100 254.0);
Tailwind
colors: {
  custom: {
    50: '#7188b0',
    500: '#2d5a8f',
    950: '#000000',
  },
}
SCSS
$custom: #2d5a8f;
$custom-light: #7188b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5a8f",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 143
  },
  "hsl": {
    "h": 212.449,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4622,
    "c": 0.10003,
    "h": 254
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#2D5A8F
secondary
#B68F62
accent
#9A4CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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