#318EA8#318EA8

#318EA8 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.4% C 0.093 H 220.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#318EA8
RGBrgb(49, 142, 168)
HSLhsl(193, 55%, 43%)
HSVhsv(193, 71%, 66%)
CMYKcmyk(70.8%, 15.5%, 0%, 34.1%)
CIE-LABlab(54.89, -18.41, -21.60)
CIE-LCHlch(54.89, 28.38, 229.57°)
OKLaboklab(60.37% -0.0713 -0.0603)
OKLCHoklch(60.37% 0.093 220.2)
XYZxyz(18.0046, 22.8241, 40.4948)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EA8 #A84B31
analogous
#31A886 #318EA8 #3153A8
triadic
#318EA8 #A8318E #8EA831
tetradic
#318EA8 #8631A8 #A84B31 #53A831
square
#318EA8 #8631A8 #A84B31 #53A831
split-complementary
#318EA8 #A83153 #A88631
monochromatic
#153E49 #236679 #318EA8 #4CAFCB #7BC4D8

Accessibility & contrast

On white

3.77
#318EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#318EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EA8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EA8#FFFFFF#000000##000000
##318EA81.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8AA9
Deuteranopia (green-blind)
#6E7EA8
Tritanopia (blue-blind)
#009696
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318ea8;
/* rgb */ color: rgb(49, 142, 168);
/* oklch */ color: oklch(60.4% 0.093 220.2);
Tailwind
colors: {
  custom: {
    50: '#79afc2',
    500: '#318ea8',
    950: '#000000',
  },
}
SCSS
$custom: #318ea8;
$custom-light: #79afc2;
$custom-dark: #000000;
JSON
{
  "hex": "#318ea8",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 193.109,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60369,
    "c": 0.09342,
    "h": 220.2
  },
  "luminance": 0.22826
}

Semantic roles & 50–950 ramp

primary
#318EA8
secondary
#C18574
accent
#6A4ADE
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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