#34799F#34799F

#34799F is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.091 H 235.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#34799F
RGBrgb(52, 121, 159)
HSLhsl(201, 51%, 41%)
HSVhsv(201, 67%, 62%)
CMYKcmyk(67.3%, 23.9%, 0%, 37.6%)
CIE-LABlab(48.14, -9.25, -26.80)
CIE-LCHlch(48.14, 28.35, 250.95°)
OKLaboklab(54.88% -0.0509 -0.0752)
OKLCHoklch(54.88% 0.091 235.9)
XYZxyz(14.5091, 16.9065, 35.2928)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34799F #9F5A34
analogous
#349F90 #34799F #34449F
triadic
#34799F #9F3479 #799F34
tetradic
#34799F #90349F #9F5A34 #449F34
square
#34799F #90349F #9F5A34 #449F34
split-complementary
#34799F #9F3444 #9F9034
monochromatic
#163343 #255671 #34799F #4C9AC4 #7AB4D3

Accessibility & contrast

On white

4.79
#34799F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#34799F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34799F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34799F#FFFFFF#000000##FFFFFF
##34799F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A1
Deuteranopia (green-blind)
#586E9E
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #34799f;
/* rgb */ color: rgb(52, 121, 159);
/* oklch */ color: oklch(54.9% 0.091 235.9);
Tailwind
colors: {
  custom: {
    50: '#789fbb',
    500: '#34799f',
    950: '#000000',
  },
}
SCSS
$custom: #34799f;
$custom-light: #789fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#34799f",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 201.308,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.09083,
    "h": 235.9
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

primary
#34799F
secondary
#BC8D73
accent
#804EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #34799F

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

Preview Lab → · Contrast checker → · Palette generator →

#34799F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva