#318FAC#318FAC

#318FAC is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.8% C 0.096 H 222.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#318FAC
RGBrgb(49, 143, 172)
HSLhsl(194, 56%, 43%)
HSVhsv(194, 72%, 67%)
CMYKcmyk(71.5%, 16.9%, 0%, 32.5%)
CIE-LABlab(55.35, -17.62, -23.18)
CIE-LCHlch(55.35, 29.12, 232.76°)
OKLaboklab(60.79% -0.0708 -0.0648)
OKLCHoklch(60.79% 0.096 222.5)
XYZxyz(18.5324, 23.2743, 42.5374)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318FAC #AC4E31
analogous
#31AC8B #318FAC #3152AC
triadic
#318FAC #AC318F #8FAC31
tetradic
#318FAC #8B31AC #AC4E31 #52AC31
square
#318FAC #8B31AC #AC4E31 #52AC31
split-complementary
#318FAC #AC3152 #AC8B31
monochromatic
#16404D #23677C #318FAC #4EAFCC #7DC4DA

Accessibility & contrast

On white

3.71
#318FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#318FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318FAC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318FAC#FFFFFF#000000##000000
##318FAC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8CAE
Deuteranopia (green-blind)
#6D7FAC
Tritanopia (blue-blind)
#009898
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #318fac;
/* rgb */ color: rgb(49, 143, 172);
/* oklch */ color: oklch(60.8% 0.096 222.5);
Tailwind
colors: {
  custom: {
    50: '#7ab0c4',
    500: '#318fac',
    950: '#000000',
  },
}
SCSS
$custom: #318fac;
$custom-light: #7ab0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#318fac",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 194.146,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.60792,
    "c": 0.09597,
    "h": 222.5
  },
  "luminance": 0.23276
}

Semantic roles & 50–950 ramp

primary
#318FAC
secondary
#C38876
accent
#6C49DF
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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