#318DAB#318DAB

#318DAB is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.3% C 0.096 H 223.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#318DAB
RGBrgb(49, 141, 171)
HSLhsl(195, 55%, 43%)
HSVhsv(195, 71%, 67%)
CMYKcmyk(71.3%, 17.5%, 0%, 32.9%)
CIE-LABlab(54.70, -16.87, -23.61)
CIE-LCHlch(54.70, 29.02, 234.45°)
OKLaboklab(60.26% -0.0691 -0.066)
OKLCHoklch(60.26% 0.096 223.7)
XYZxyz(18.1392, 22.6409, 41.9343)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318DAB #AB4F31
analogous
#31AB8C #318DAB #3150AB
triadic
#318DAB #AB318D #8DAB31
tetradic
#318DAB #8C31AB #AB4F31 #50AB31
square
#318DAB #8C31AB #AB4F31 #50AB31
split-complementary
#318DAB #AB3150 #AB8C31
monochromatic
#163F4C #23667B #318DAB #4DADCC #7DC3DA

Accessibility & contrast

On white

3.80
#318DAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#318DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318DAB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318DAB#FFFFFF#000000##000000
##318DAB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8AAD
Deuteranopia (green-blind)
#6B7EAB
Tritanopia (blue-blind)
#009697
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318dab;
/* rgb */ color: rgb(49, 141, 171);
/* oklch */ color: oklch(60.3% 0.096 223.7);
Tailwind
colors: {
  custom: {
    50: '#79aec4',
    500: '#318dab',
    950: '#000000',
  },
}
SCSS
$custom: #318dab;
$custom-light: #79aec4;
$custom-dark: #000000;
JSON
{
  "hex": "#318dab",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 171
  },
  "hsl": {
    "h": 194.754,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.60255,
    "c": 0.0956,
    "h": 223.7
  },
  "luminance": 0.22643
}

Semantic roles & 50–950 ramp

primary
#318DAB
secondary
#C28875
accent
#6E49DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318DAB

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

Preview Lab → · Contrast checker → · Palette generator →

#318DAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva