#2D70A2#2D70A2

#2D70A2 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.6% C 0.104 H 244.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2D70A2
RGBrgb(45, 112, 162)
HSLhsl(206, 57%, 41%)
HSVhsv(206, 72%, 64%)
CMYKcmyk(72.2%, 30.9%, 0%, 36.5%)
CIE-LABlab(45.29, -4.00, -33.02)
CIE-LCHlch(45.29, 33.26, 263.09°)
OKLaboklab(52.61% -0.0449 -0.0934)
OKLCHoklch(52.61% 0.104 244.4)
XYZxyz(13.3954, 14.7534, 36.3171)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70A2 #A25F2D
analogous
#2DA299 #2D70A2 #2D35A2
triadic
#2D70A2 #A22D70 #70A22D
tetradic
#2D70A2 #992DA2 #A25F2D #35A22D
square
#2D70A2 #992DA2 #A25F2D #35A22D
split-complementary
#2D70A2 #A22D35 #A2992D
monochromatic
#122E42 #204F72 #2D70A2 #4290CA #72ACD8

Accessibility & contrast

On white

5.32
#2D70A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2D70A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70A2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70A2#FFFFFF#000000##FFFFFF
##2D70A21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#4966A1
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d70a2;
/* rgb */ color: rgb(45, 112, 162);
/* oklch */ color: oklch(52.6% 0.104 244.4);
Tailwind
colors: {
  custom: {
    50: '#7598be',
    500: '#2d70a2',
    950: '#000000',
  },
}
SCSS
$custom: #2d70a2;
$custom-light: #7598be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70a2",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 162
  },
  "hsl": {
    "h": 205.641,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.10364,
    "h": 244.4
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#2D70A2
secondary
#BF8F6C
accent
#8948E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2D70A2

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

Preview Lab → · Contrast checker → · Palette generator →

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