#2671A8#2671A8

#2671A8 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.113 H 244.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2671A8
RGBrgb(38, 113, 168)
HSLhsl(205, 63%, 40%)
HSVhsv(205, 77%, 66%)
CMYKcmyk(77.4%, 32.7%, 0%, 34.1%)
CIE-LABlab(45.70, -3.34, -35.92)
CIE-LCHlch(45.70, 36.08, 264.68°)
OKLaboklab(52.97% -0.048 -0.1019)
OKLCHoklch(52.97% 0.113 244.8)
XYZxyz(13.7696, 15.0478, 39.2170)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2671A8 #A85D26
analogous
#26A89E #2671A8 #2630A8
triadic
#2671A8 #A82671 #71A826
tetradic
#2671A8 #9E26A8 #A85D26 #30A826
square
#2671A8 #9E26A8 #A85D26 #30A826
split-complementary
#2671A8 #A82630 #A89E26
monochromatic
#0F2E44 #1B4F76 #2671A8 #3991D2 #6BADDE

Accessibility & contrast

On white

5.24
#2671A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2671A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2671A8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2671A8#FFFFFF#000000##FFFFFF
##2671A81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2671a8;
/* rgb */ color: rgb(38, 113, 168);
/* oklch */ color: oklch(53.0% 0.113 244.8);
Tailwind
colors: {
  custom: {
    50: '#7499c2',
    500: '#2671a8',
    950: '#000000',
  },
}
SCSS
$custom: #2671a8;
$custom-light: #7499c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2671a8",
  "rgb": {
    "r": 38,
    "g": 113,
    "b": 168
  },
  "hsl": {
    "h": 205.385,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52969,
    "c": 0.11266,
    "h": 244.8
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#2671A8
secondary
#C48E66
accent
#8742E6
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2671A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2671A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva