#2671AF#2671AF

#2671AF is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.4% C 0.121 H 247.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2671AF
RGBrgb(38, 113, 175)
HSLhsl(207, 64%, 42%)
HSVhsv(207, 78%, 69%)
CMYKcmyk(78.3%, 35.4%, 0%, 31.4%)
CIE-LABlab(46.06, -0.72, -39.44)
CIE-LCHlch(46.06, 39.44, 268.95°)
OKLaboklab(53.37% -0.0459 -0.1122)
OKLCHoklch(53.37% 0.121 247.7)
XYZxyz(14.4394, 15.3157, 42.7444)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2671AF #AF6426
analogous
#26AFA9 #2671AF #262DAF
triadic
#2671AF #AF2671 #71AF26
tetradic
#2671AF #A926AF #AF6426 #2DAF26
square
#2671AF #A926AF #AF6426 #2DAF26
split-complementary
#2671AF #AF262D #AFA926
monochromatic
#10304A #1B517D #2671AF #3D90D5 #70ADE0

Accessibility & contrast

On white

5.17
#2671AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2671AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2671AF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2671AF#FFFFFF#000000##FFFFFF
##2671AF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#4067AE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2671af;
/* rgb */ color: rgb(38, 113, 175);
/* oklch */ color: oklch(53.4% 0.121 247.7);
Tailwind
colors: {
  custom: {
    50: '#7599c7',
    500: '#2671af',
    950: '#000000',
  },
}
SCSS
$custom: #2671af;
$custom-light: #7599c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2671af",
  "rgb": {
    "r": 38,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 207.153,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.12124,
    "h": 247.7
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#2671AF
secondary
#C7946A
accent
#8C40E7
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2671AF

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

Preview Lab → · Contrast checker → · Palette generator →

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