#2D7ABC#2D7ABC

#2D7ABC is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.5% C 0.127 H 248.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2D7ABC
RGBrgb(45, 122, 188)
HSLhsl(208, 61%, 46%)
HSVhsv(208, 76%, 74%)
CMYKcmyk(76.1%, 35.1%, 0%, 26.3%)
CIE-LABlab(49.62, -0.51, -41.32)
CIE-LCHlch(49.62, 41.32, 269.29°)
OKLaboklab(56.45% -0.0468 -0.1175)
OKLCHoklch(56.45% 0.127 248.3)
XYZxyz(17.1154, 18.1058, 50.1599)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7ABC #BC6F2D
analogous
#2DBCB6 #2D7ABC #2D33BC
triadic
#2D7ABC #BC2D7A #7ABC2D
tetradic
#2D7ABC #B62DBC #BC6F2D #33BC2D
square
#2D7ABC #B62DBC #BC6F2D #33BC2D
split-complementary
#2D7ABC #BC2D33 #BCB62D
monochromatic
#153A59 #215A8B #2D7ABC #5198D5 #82B5E1

Accessibility & contrast

On white

4.54
#2D7ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2D7ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7ABC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7ABC#FFFFFF#000000##000000
##2D7ABC1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBF
Deuteranopia (green-blind)
#4770BB
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d7abc;
/* rgb */ color: rgb(45, 122, 188);
/* oklch */ color: oklch(56.5% 0.127 248.3);
Tailwind
colors: {
  custom: {
    50: '#7aa0d0',
    500: '#2d7abc',
    950: '#000000',
  },
}
SCSS
$custom: #2d7abc;
$custom-light: #7aa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7abc",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 207.692,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.12651,
    "h": 248.3
  },
  "luminance": 0.18108
}

Semantic roles & 50–950 ramp

primary
#2D7ABC
secondary
#CA9F7B
accent
#8E43E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2D7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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