#2D98C1#2D98C1

#2D98C1 is a light, moderate cyan. Relative luminance 0.269; OKLCH L 63.8% C 0.111 H 228.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2D98C1
RGBrgb(45, 152, 193)
HSLhsl(197, 62%, 47%)
HSVhsv(197, 77%, 76%)
CMYKcmyk(76.7%, 21.2%, 0%, 24.3%)
CIE-LABlab(58.85, -15.93, -29.72)
CIE-LCHlch(58.85, 33.73, 241.80°)
OKLaboklab(63.84% -0.0736 -0.0835)
OKLCHoklch(63.84% 0.111 228.6)
XYZxyz(21.9321, 26.8620, 54.4707)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D98C1 #C1562D
analogous
#2DC1A0 #2D98C1 #2D4EC1
triadic
#2D98C1 #C12D98 #98C12D
tetradic
#2D98C1 #A02DC1 #C1562D #4EC12D
square
#2D98C1 #A02DC1 #C1562D #4EC12D
split-complementary
#2D98C1 #C12D4E #C1A02D
monochromatic
#164A5E #21718F #2D98C1 #54B3D7 #86C9E3

Accessibility & contrast

On white

3.30
#2D98C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#2D98C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D98C1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D98C1#FFFFFF#000000##000000
##2D98C11.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8396C3
Deuteranopia (green-blind)
#6F87C0
Tritanopia (blue-blind)
#00A4A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2d98c1;
/* rgb */ color: rgb(45, 152, 193);
/* oklch */ color: oklch(63.8% 0.111 228.6);
Tailwind
colors: {
  custom: {
    50: '#7cb6d4',
    500: '#2d98c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d98c1;
$custom-light: #7cb6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d98c1",
  "rgb": {
    "r": 45,
    "g": 152,
    "b": 193
  },
  "hsl": {
    "h": 196.622,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.63842,
    "c": 0.11133,
    "h": 228.6
  },
  "luminance": 0.26865
}

Semantic roles & 50–950 ramp

primary
#2D98C1
secondary
#CC937E
accent
#7043E5
background
#F8FBFD
surface
#EFF6FA
border
#CAD0D3
text
#0B1114
muted
#7C8083

Preview Lab

Preview with #2D98C1

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

Preview Lab → · Contrast checker → · Palette generator →

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