#318AAF#318AAF

#318AAF is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.7% C 0.100 H 229.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#318AAF
RGBrgb(49, 138, 175)
HSLhsl(198, 56%, 44%)
HSVhsv(198, 72%, 69%)
CMYKcmyk(72%, 21.1%, 0%, 31.4%)
CIE-LABlab(53.95, -13.88, -27.07)
CIE-LCHlch(53.95, 30.42, 242.86°)
OKLaboklab(59.71% -0.0645 -0.076)
OKLCHoklch(59.71% 0.1 229.7)
XYZxyz(18.0899, 21.9230, 43.8273)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318AAF #AF5631
analogous
#31AF95 #318AAF #314BAF
triadic
#318AAF #AF318A #8AAF31
tetradic
#318AAF #9531AF #AF5631 #4BAF31
square
#318AAF #9531AF #AF5631 #4BAF31
split-complementary
#318AAF #AF314B #AF9531
monochromatic
#163F4F #24647F #318AAF #4FA9CE #7FC0DB

Accessibility & contrast

On white

3.90
#318AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#318AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318AAF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318AAF#FFFFFF#000000##000000
##318AAF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B1
Deuteranopia (green-blind)
#667CAE
Tritanopia (blue-blind)
#009496
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #318aaf;
/* rgb */ color: rgb(49, 138, 175);
/* oklch */ color: oklch(59.7% 0.100 229.7);
Tailwind
colors: {
  custom: {
    50: '#7aacc7',
    500: '#318aaf',
    950: '#000000',
  },
}
SCSS
$custom: #318aaf;
$custom-light: #7aacc7;
$custom-dark: #000000;
JSON
{
  "hex": "#318aaf",
  "rgb": {
    "r": 49,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 197.619,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.59705,
    "c": 0.09968,
    "h": 229.7
  },
  "luminance": 0.21925
}

Semantic roles & 50–950 ramp

primary
#318AAF
secondary
#C48E78
accent
#7548E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #318AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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