#318FAB#318FAB

#318FAB is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.7% C 0.095 H 221.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#318FAB
RGBrgb(49, 143, 171)
HSLhsl(194, 55%, 43%)
HSVhsv(194, 71%, 67%)
CMYKcmyk(71.3%, 16.4%, 0%, 32.9%)
CIE-LABlab(55.31, -17.96, -22.67)
CIE-LCHlch(55.31, 28.92, 231.62°)
OKLaboklab(60.75% -0.0712 -0.0633)
OKLCHoklch(60.75% 0.095 221.7)
XYZxyz(18.4367, 23.2361, 42.0335)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318FAB #AB4D31
analogous
#31AB8A #318FAB #3152AB
triadic
#318FAB #AB318F #8FAB31
tetradic
#318FAB #8A31AB #AB4D31 #52AB31
square
#318FAB #8A31AB #AB4D31 #52AB31
split-complementary
#318FAB #AB3152 #AB8A31
monochromatic
#163F4C #23677B #318FAB #4DAFCC #7DC4DA

Accessibility & contrast

On white

3.72
#318FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#318FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318FAB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318FAB#FFFFFF#000000##000000
##318FAB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8BAC
Deuteranopia (green-blind)
#6E7FAB
Tritanopia (blue-blind)
#009898
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #318fab;
/* rgb */ color: rgb(49, 143, 171);
/* oklch */ color: oklch(60.7% 0.095 221.7);
Tailwind
colors: {
  custom: {
    50: '#7ab0c4',
    500: '#318fab',
    950: '#000000',
  },
}
SCSS
$custom: #318fab;
$custom-light: #7ab0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#318fab",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 171
  },
  "hsl": {
    "h": 193.77,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.60748,
    "c": 0.09529,
    "h": 221.7
  },
  "luminance": 0.23238
}

Semantic roles & 50–950 ramp

primary
#318FAB
secondary
#C28775
accent
#6B49DF
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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