#318EC9#318EC9

#318EC9 is a mid, vivid cyan. Relative luminance 0.242; OKLCH L 62.0% C 0.123 H 241.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#318EC9
RGBrgb(49, 142, 201)
HSLhsl(203, 61%, 49%)
HSVhsv(203, 76%, 79%)
CMYKcmyk(75.6%, 29.4%, 0%, 21.2%)
CIE-LABlab(56.30, -7.09, -38.20)
CIE-LCHlch(56.30, 38.85, 259.48°)
OKLaboklab(61.96% -0.0596 -0.1081)
OKLCHoklch(61.96% 0.123 241.1)
XYZxyz(21.4781, 24.2135, 58.7887)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EC9 #C96C31
analogous
#31C9B8 #318EC9 #3142C9
triadic
#318EC9 #C9318E #8EC931
tetradic
#318EC9 #B831C9 #C96C31 #42C931
square
#318EC9 #B831C9 #C96C31 #42C931
split-complementary
#318EC9 #C93142 #C9B831
monochromatic
#194867 #256B98 #318EC9 #5FA9D8 #90C4E4

Accessibility & contrast

On white

3.59
#318EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#318EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EC9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EC9#FFFFFF#000000##000000
##318EC91.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCC
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#009DA3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #318ec9;
/* rgb */ color: rgb(49, 142, 201);
/* oklch */ color: oklch(62.0% 0.123 241.1);
Tailwind
colors: {
  custom: {
    50: '#7eaed9',
    500: '#318ec9',
    950: '#000000',
  },
}
SCSS
$custom: #318ec9;
$custom-light: #7eaed9;
$custom-dark: #000000;
JSON
{
  "hex": "#318ec9",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 201
  },
  "hsl": {
    "h": 203.289,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.61958,
    "c": 0.12343,
    "h": 241.1
  },
  "luminance": 0.24216
}

Semantic roles & 50–950 ramp

primary
#318EC9
secondary
#CFA387
accent
#8244E4
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #318EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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