#2A7BC9#2A7BC9

#2A7BC9 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.4% C 0.143 H 251.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A7BC9
RGBrgb(42, 123, 201)
HSLhsl(209, 65%, 48%)
HSVhsv(209, 79%, 79%)
CMYKcmyk(79.1%, 38.8%, 0%, 21.2%)
CIE-LABlab(50.54, 3.36, -47.32)
CIE-LCHlch(50.54, 47.44, 274.06°)
OKLaboklab(57.37% -0.0459 -0.1351)
OKLCHoklch(57.37% 0.143 251.2)
XYZxyz(18.5764, 18.8730, 57.9108)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BC9 #C9782A
analogous
#2AC9C7 #2A7BC9 #2A2BC9
triadic
#2A7BC9 #C92A7B #7BC92A
tetradic
#2A7BC9 #C72AC9 #C9782A #2BC92A
square
#2A7BC9 #C72AC9 #C9782A #2BC92A
split-complementary
#2A7BC9 #C92A2B #C9C72A
monochromatic
#153D64 #1F5C96 #2A7BC9 #5599DB #87B8E6

Accessibility & contrast

On white

4.40
#2A7BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2A7BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7BC9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BC9#FFFFFF#000000##000000
##2A7BC91.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CC
Deuteranopia (green-blind)
#3C72C7
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a7bc9;
/* rgb */ color: rgb(42, 123, 201);
/* oklch */ color: oklch(57.4% 0.143 251.2);
Tailwind
colors: {
  custom: {
    50: '#7ca0da',
    500: '#2a7bc9',
    950: '#000000',
  },
}
SCSS
$custom: #2a7bc9;
$custom-light: #7ca0da;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7bc9",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 201
  },
  "hsl": {
    "h": 209.434,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57372,
    "c": 0.14271,
    "h": 251.2
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

primary
#2A7BC9
secondary
#D0A77F
accent
#923FE8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2A7BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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