#2D5183#2D5183

#2D5183 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.3% C 0.093 H 257.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2D5183
RGBrgb(45, 81, 131)
HSLhsl(215, 49%, 35%)
HSVhsv(215, 66%, 51%)
CMYKcmyk(65.6%, 38.2%, 0%, 48.6%)
CIE-LABlab(34.15, 4.05, -31.95)
CIE-LCHlch(34.15, 32.21, 277.22°)
OKLaboklab(43.33% -0.021 -0.0907)
OKLCHoklch(43.33% 0.093 257)
XYZxyz(8.1199, 8.0807, 22.6001)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5183 #835F2D
analogous
#2D7C83 #2D5183 #342D83
triadic
#2D5183 #832D51 #51832D
tetradic
#2D5183 #832D7C #835F2D #2D8334
square
#2D5183 #832D7C #835F2D #2D8334
split-complementary
#2D5183 #83342D #7C832D
monochromatic
#0E1928 #1D3555 #2D5183 #3D6DB1 #628DC9

Accessibility & contrast

On white

8.03
#2D5183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2D5183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5183
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5183#FFFFFF#000000##FFFFFF
##2D51831.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5585
Deuteranopia (green-blind)
#2F4D82
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5183;
/* rgb */ color: rgb(45, 81, 131);
/* oklch */ color: oklch(43.3% 0.093 257.0);
Tailwind
colors: {
  custom: {
    50: '#6f81a7',
    500: '#2d5183',
    950: '#000000',
  },
}
SCSS
$custom: #2d5183;
$custom-light: #6f81a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5183",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 131
  },
  "hsl": {
    "h": 214.884,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4333,
    "c": 0.0931,
    "h": 257
  },
  "luminance": 0.08081
}

Semantic roles & 50–950 ramp

primary
#2D5183
secondary
#AF8D5C
accent
#9F4FD8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D5183

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

Preview Lab → · Contrast checker → · Palette generator →

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