#2D70B3#2D70B3

#2D70B3 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.125 H 251.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2D70B3
RGBrgb(45, 112, 179)
HSLhsl(210, 60%, 44%)
HSVhsv(210, 75%, 70%)
CMYKcmyk(74.9%, 37.4%, 0%, 29.8%)
CIE-LABlab(46.18, 2.26, -41.58)
CIE-LCHlch(46.18, 41.64, 273.11°)
OKLaboklab(53.59% -0.04 -0.1184)
OKLCHoklch(53.59% 0.125 251.3)
XYZxyz(15.0100, 15.3992, 44.8204)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70B3 #B3702D
analogous
#2DB3B3 #2D70B3 #2D2DB3
triadic
#2D70B3 #B32D70 #70B32D
tetradic
#2D70B3 #B32DB3 #B3702D #2DB32D
square
#2D70B3 #B32DB3 #B3702D #2DB32D
split-complementary
#2D70B3 #B32D2D #B3B32D
monochromatic
#143351 #215182 #2D70B3 #4B8FD2 #7CADDE

Accessibility & contrast

On white

5.15
#2D70B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2D70B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70B3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70B3#FFFFFF#000000##FFFFFF
##2D70B31.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5174B6
Deuteranopia (green-blind)
#3D68B2
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d70b3;
/* rgb */ color: rgb(45, 112, 179);
/* oklch */ color: oklch(53.6% 0.125 251.3);
Tailwind
colors: {
  custom: {
    50: '#7898ca',
    500: '#2d70b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d70b3;
$custom-light: #7898ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70b3",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 179
  },
  "hsl": {
    "h": 210,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.12499,
    "h": 251.3
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#2D70B3
secondary
#C79E75
accent
#9445E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D70B3

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

Preview Lab → · Contrast checker → · Palette generator →

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