#2A75A7#2A75A7

#2A75A7 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.0% C 0.107 H 242.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2A75A7
RGBrgb(42, 117, 167)
HSLhsl(204, 60%, 41%)
HSVhsv(204, 75%, 65%)
CMYKcmyk(74.9%, 29.9%, 0%, 34.5%)
CIE-LABlab(46.98, -5.60, -33.32)
CIE-LCHlch(46.98, 33.78, 260.46°)
OKLaboklab(53.99% -0.05 -0.0943)
OKLCHoklch(53.99% 0.107 242.1)
XYZxyz(14.2885, 16.0032, 38.8876)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A75A7 #A75C2A
analogous
#2AA79A #2A75A7 #2A36A7
triadic
#2A75A7 #A72A75 #75A72A
tetradic
#2A75A7 #9A2AA7 #A75C2A #36A72A
square
#2A75A7 #9A2AA7 #A75C2A #36A72A
split-complementary
#2A75A7 #A72A36 #A79A2A
monochromatic
#113045 #1E5376 #2A75A7 #3F95CF #70B0DB

Accessibility & contrast

On white

5.00
#2A75A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2A75A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A75A7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A75A7#FFFFFF#000000##FFFFFF
##2A75A71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E76A9
Deuteranopia (green-blind)
#4D6AA6
Tritanopia (blue-blind)
#008187
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a75a7;
/* rgb */ color: rgb(42, 117, 167);
/* oklch */ color: oklch(54.0% 0.107 242.1);
Tailwind
colors: {
  custom: {
    50: '#759cc1',
    500: '#2a75a7',
    950: '#000000',
  },
}
SCSS
$custom: #2a75a7;
$custom-light: #759cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a75a7",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 167
  },
  "hsl": {
    "h": 204,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53994,
    "c": 0.1067,
    "h": 242.1
  },
  "luminance": 0.16005
}

Semantic roles & 50–950 ramp

primary
#2A75A7
secondary
#C28E6B
accent
#8445E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A75A7

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

Preview Lab → · Contrast checker → · Palette generator →

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