#2A7FCA#2A7FCA

#2A7FCA is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.140 H 249.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2A7FCA
RGBrgb(42, 127, 202)
HSLhsl(208, 66%, 48%)
HSVhsv(208, 79%, 79%)
CMYKcmyk(79.2%, 37.1%, 0%, 20.8%)
CIE-LABlab(51.76, 1.31, -45.95)
CIE-LCHlch(51.76, 45.97, 271.63°)
OKLaboklab(58.35% -0.0491 -0.131)
OKLCHoklch(58.35% 0.14 249.4)
XYZxyz(19.2008, 19.9329, 58.7011)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7FCA #CA752A
analogous
#2ACAC5 #2A7FCA #2A2FCA
triadic
#2A7FCA #CA2A7F #7FCA2A
tetradic
#2A7FCA #C52ACA #CA752A #2FCA2A
square
#2A7FCA #C52ACA #CA752A #2FCA2A
split-complementary
#2A7FCA #CA2A2F #CAC52A
monochromatic
#153F65 #1F5F97 #2A7FCA #559DDC #88BAE6

Accessibility & contrast

On white

4.21
#2A7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2A7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7FCA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7FCA#FFFFFF#000000##000000
##2A7FCA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CD
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a7fca;
/* rgb */ color: rgb(42, 127, 202);
/* oklch */ color: oklch(58.3% 0.140 249.4);
Tailwind
colors: {
  custom: {
    50: '#7ca3da',
    500: '#2a7fca',
    950: '#000000',
  },
}
SCSS
$custom: #2a7fca;
$custom-light: #7ca3da;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7fca",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 208.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58347,
    "c": 0.13992,
    "h": 249.4
  },
  "luminance": 0.19935
}

Semantic roles & 50–950 ramp

primary
#2A7FCA
secondary
#D0A580
accent
#8F3FE9
background
#F8FAFD
surface
#EFF3FB
border
#CACDD4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2A7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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