#318EB2#318EB2

#318EB2 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.8% C 0.101 H 228.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#318EB2
RGBrgb(49, 142, 178)
HSLhsl(197, 57%, 45%)
HSVhsv(197, 72%, 70%)
CMYKcmyk(72.5%, 20.2%, 0%, 30.2%)
CIE-LABlab(55.29, -15.07, -26.71)
CIE-LCHlch(55.29, 30.67, 240.57°)
OKLaboklab(60.82% -0.0675 -0.0749)
OKLCHoklch(60.82% 0.101 228)
XYZxyz(18.9722, 23.2111, 45.5912)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EB2 #B25531
analogous
#31B296 #318EB2 #314EB2
triadic
#318EB2 #B2318E #8EB231
tetradic
#318EB2 #9631B2 #B25531 #4EB231
square
#318EB2 #9631B2 #B25531 #4EB231
split-complementary
#318EB2 #B2314E #B29631
monochromatic
#174152 #246882 #318EB2 #51ACCF #81C3DC

Accessibility & contrast

On white

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

On black

5.64
#318EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EB2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EB2#FFFFFF#000000##000000
##318EB21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB4
Deuteranopia (green-blind)
#697FB2
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #318eb2;
/* rgb */ color: rgb(49, 142, 178);
/* oklch */ color: oklch(60.8% 0.101 228.0);
Tailwind
colors: {
  custom: {
    50: '#7bafc9',
    500: '#318eb2',
    950: '#000000',
  },
}
SCSS
$custom: #318eb2;
$custom-light: #7bafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#318eb2",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 196.744,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6082,
    "c": 0.10081,
    "h": 228
  },
  "luminance": 0.23213
}

Semantic roles & 50–950 ramp

primary
#318EB2
secondary
#C58F79
accent
#7248E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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