#3174AA#3174AA

#3174AA is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.1% C 0.108 H 246.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3174AA
RGBrgb(49, 116, 170)
HSLhsl(207, 55%, 43%)
HSVhsv(207, 71%, 67%)
CMYKcmyk(71.2%, 31.8%, 0%, 33.3%)
CIE-LABlab(47.03, -2.91, -34.97)
CIE-LCHlch(47.03, 35.09, 265.24°)
OKLaboklab(54.14% -0.0439 -0.099)
OKLCHoklch(54.14% 0.108 246.1)
XYZxyz(14.7650, 16.0444, 40.3412)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174AA #AA6731
analogous
#31AAA3 #3174AA #3137AA
triadic
#3174AA #AA3174 #74AA31
tetradic
#3174AA #A331AA #AA6731 #37AA31
square
#3174AA #A331AA #AA6731 #37AA31
split-complementary
#3174AA #AA3137 #AAA331
monochromatic
#16334B #23547A #3174AA #4D93CC #7CB0D9

Accessibility & contrast

On white

4.99
#3174AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3174AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174AA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174AA#FFFFFF#000000##FFFFFF
##3174AA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3174aa;
/* rgb */ color: rgb(49, 116, 170);
/* oklch */ color: oklch(54.1% 0.108 246.1);
Tailwind
colors: {
  custom: {
    50: '#789bc3',
    500: '#3174aa',
    950: '#000000',
  },
}
SCSS
$custom: #3174aa;
$custom-light: #789bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3174aa",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 170
  },
  "hsl": {
    "h": 206.777,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.10831,
    "h": 246.1
  },
  "luminance": 0.16046
}

Semantic roles & 50–950 ramp

primary
#3174AA
secondary
#C29775
accent
#8C49DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3174AA

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

Preview Lab → · Contrast checker → · Palette generator →

#3174AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva