#2A7DB3#2A7DB3

#2A7DB3 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.6% C 0.114 H 241.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2A7DB3
RGBrgb(42, 125, 179)
HSLhsl(204, 62%, 43%)
HSVhsv(204, 77%, 70%)
CMYKcmyk(76.5%, 30.2%, 0%, 29.8%)
CIE-LABlab(49.99, -5.97, -35.56)
CIE-LCHlch(49.99, 36.05, 260.47°)
OKLaboklab(56.57% -0.0539 -0.1007)
OKLCHoklch(56.57% 0.114 241.8)
XYZxyz(16.4220, 18.4122, 45.3275)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DB3 #B3602A
analogous
#2AB3A4 #2A7DB3 #2A38B3
triadic
#2A7DB3 #B32A7D #7DB32A
tetradic
#2A7DB3 #A42AB3 #B3602A #38B32A
square
#2A7DB3 #A42AB3 #B3602A #38B32A
split-complementary
#2A7DB3 #B32A38 #B3A42A
monochromatic
#133850 #1E5A81 #2A7DB3 #469CD4 #78B7DF

Accessibility & contrast

On white

4.48
#2A7DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2A7DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7DB3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7DB3#FFFFFF#000000##000000
##2A7DB31.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB5
Deuteranopia (green-blind)
#5171B2
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7db3;
/* rgb */ color: rgb(42, 125, 179);
/* oklch */ color: oklch(56.6% 0.114 241.8);
Tailwind
colors: {
  custom: {
    50: '#77a2ca',
    500: '#2a7db3',
    950: '#000000',
  },
}
SCSS
$custom: #2a7db3;
$custom-light: #77a2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7db3",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 179
  },
  "hsl": {
    "h": 203.65,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.11421,
    "h": 241.8
  },
  "luminance": 0.18414
}

Semantic roles & 50–950 ramp

primary
#2A7DB3
secondary
#C79372
accent
#8343E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2A7DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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