#318FA8#318FA8

#318FA8 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.6% C 0.093 H 219.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#318FA8
RGBrgb(49, 143, 168)
HSLhsl(193, 55%, 43%)
HSVhsv(193, 71%, 66%)
CMYKcmyk(70.8%, 14.9%, 0%, 34.1%)
CIE-LABlab(55.20, -18.94, -21.13)
CIE-LCHlch(55.20, 28.38, 228.12°)
OKLaboklab(60.62% -0.0724 -0.059)
OKLCHoklch(60.62% 0.093 219.2)
XYZxyz(18.1540, 23.1230, 40.5446)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318FA8 #A84A31
analogous
#31A885 #318FA8 #3153A8
triadic
#318FA8 #A8318F #8FA831
tetradic
#318FA8 #8531A8 #A84A31 #53A831
square
#318FA8 #8531A8 #A84A31 #53A831
split-complementary
#318FA8 #A83153 #A88531
monochromatic
#153E49 #236779 #318FA8 #4CB0CB #7BC5D8

Accessibility & contrast

On white

3.73
#318FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#318FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318FA8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318FA8#FFFFFF#000000##000000
##318FA81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8BA9
Deuteranopia (green-blind)
#6F7FA8
Tritanopia (blue-blind)
#009797
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #318fa8;
/* rgb */ color: rgb(49, 143, 168);
/* oklch */ color: oklch(60.6% 0.093 219.2);
Tailwind
colors: {
  custom: {
    50: '#79b0c2',
    500: '#318fa8',
    950: '#000000',
  },
}
SCSS
$custom: #318fa8;
$custom-light: #79b0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#318fa8",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 168
  },
  "hsl": {
    "h": 192.605,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60616,
    "c": 0.09335,
    "h": 219.2
  },
  "luminance": 0.23125
}

Semantic roles & 50–950 ramp

primary
#318FA8
secondary
#C18474
accent
#694ADE
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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