#318DB3#318DB3

#318DB3 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.6% C 0.102 H 229.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#318DB3
RGBrgb(49, 141, 179)
HSLhsl(198, 57%, 45%)
HSVhsv(198, 73%, 70%)
CMYKcmyk(72.6%, 21.2%, 0%, 29.8%)
CIE-LABlab(55.03, -14.18, -27.69)
CIE-LCHlch(55.03, 31.11, 242.88°)
OKLaboklab(60.62% -0.0661 -0.0777)
OKLCHoklch(60.62% 0.102 229.6)
XYZxyz(18.9249, 22.9552, 46.0725)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318DB3 #B35731
analogous
#31B398 #318DB3 #314CB3
triadic
#318DB3 #B3318D #8DB331
tetradic
#318DB3 #9831B3 #B35731 #4CB331
square
#318DB3 #9831B3 #B35731 #4CB331
split-complementary
#318DB3 #B3314C #B39831
monochromatic
#174153 #246783 #318DB3 #52ABD0 #82C2DD

Accessibility & contrast

On white

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

On black

5.59
#318DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318DB3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318DB3#FFFFFF#000000##000000
##318DB31.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#798BB5
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #318db3;
/* rgb */ color: rgb(49, 141, 179);
/* oklch */ color: oklch(60.6% 0.102 229.6);
Tailwind
colors: {
  custom: {
    50: '#7baeca',
    500: '#318db3',
    950: '#000000',
  },
}
SCSS
$custom: #318db3;
$custom-light: #7baeca;
$custom-dark: #000000;
JSON
{
  "hex": "#318db3",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 179
  },
  "hsl": {
    "h": 197.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60623,
    "c": 0.10203,
    "h": 229.6
  },
  "luminance": 0.22957
}

Semantic roles & 50–950 ramp

primary
#318DB3
secondary
#C6907A
accent
#7448E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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