#3175AA#3175AA

#3175AA is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.4% C 0.107 H 245.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3175AA
RGBrgb(49, 117, 170)
HSLhsl(206, 55%, 43%)
HSVhsv(206, 71%, 67%)
CMYKcmyk(71.2%, 31.2%, 0%, 33.3%)
CIE-LABlab(47.33, -3.51, -34.49)
CIE-LCHlch(47.33, 34.67, 264.19°)
OKLaboklab(54.38% -0.0449 -0.0976)
OKLCHoklch(54.38% 0.107 245.3)
XYZxyz(14.8808, 16.2762, 40.3798)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3175AA #AA6631
analogous
#31AAA2 #3175AA #3138AA
triadic
#3175AA #AA3175 #75AA31
tetradic
#3175AA #A231AA #AA6631 #38AA31
square
#3175AA #A231AA #AA6631 #38AA31
split-complementary
#3175AA #AA3138 #AAA231
monochromatic
#16344B #23547A #3175AA #4D94CC #7CB0D9

Accessibility & contrast

On white

4.93
#3175AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3175AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3175AA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3175AA#FFFFFF#000000##FFFFFF
##3175AA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AC
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#008288
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3175aa;
/* rgb */ color: rgb(49, 117, 170);
/* oklch */ color: oklch(54.4% 0.107 245.3);
Tailwind
colors: {
  custom: {
    50: '#789cc3',
    500: '#3175aa',
    950: '#000000',
  },
}
SCSS
$custom: #3175aa;
$custom-light: #789cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3175aa",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 170
  },
  "hsl": {
    "h": 206.281,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54382,
    "c": 0.10746,
    "h": 245.3
  },
  "luminance": 0.16278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3175AA

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

Preview Lab → · Contrast checker → · Palette generator →

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