#318DB2#318DB2

#318DB2 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.6% C 0.101 H 228.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#318DB2
RGBrgb(49, 141, 178)
HSLhsl(197, 57%, 45%)
HSVhsv(197, 72%, 70%)
CMYKcmyk(72.5%, 20.8%, 0%, 30.2%)
CIE-LABlab(54.98, -14.52, -27.18)
CIE-LCHlch(54.98, 30.82, 241.89°)
OKLaboklab(60.58% -0.0665 -0.0763)
OKLCHoklch(60.58% 0.101 228.9)
XYZxyz(18.8241, 22.9149, 45.5418)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318DB2 #B25631
analogous
#31B296 #318DB2 #314DB2
triadic
#318DB2 #B2318D #8DB231
tetradic
#318DB2 #9631B2 #B25631 #4DB231
square
#318DB2 #9631B2 #B25631 #4DB231
split-complementary
#318DB2 #B2314D #B29631
monochromatic
#174152 #246782 #318DB2 #51ABCF #81C2DC

Accessibility & contrast

On white

3.76
#318DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#318DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318DB2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318DB2#FFFFFF#000000##000000
##318DB21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB4
Deuteranopia (green-blind)
#687EB1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #318db2;
/* rgb */ color: rgb(49, 141, 178);
/* oklch */ color: oklch(60.6% 0.101 228.9);
Tailwind
colors: {
  custom: {
    50: '#7aaec9',
    500: '#318db2',
    950: '#000000',
  },
}
SCSS
$custom: #318db2;
$custom-light: #7aaec9;
$custom-dark: #000000;
JSON
{
  "hex": "#318db2",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 197.209,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60577,
    "c": 0.10116,
    "h": 228.9
  },
  "luminance": 0.22917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #318DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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