#318DB4#318DB4

#318DB4 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.7% C 0.103 H 230.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#318DB4
RGBrgb(49, 141, 180)
HSLhsl(198, 57%, 45%)
HSVhsv(198, 73%, 71%)
CMYKcmyk(72.8%, 21.7%, 0%, 29.4%)
CIE-LABlab(55.07, -13.84, -28.20)
CIE-LCHlch(55.07, 31.41, 243.86°)
OKLaboklab(60.67% -0.0657 -0.0792)
OKLCHoklch(60.67% 0.103 230.3)
XYZxyz(19.0264, 22.9958, 46.6071)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318DB4 #B45831
analogous
#31B49A #318DB4 #314BB4
triadic
#318DB4 #B4318D #8DB431
tetradic
#318DB4 #9A31B4 #B45831 #4BB431
square
#318DB4 #9A31B4 #B45831 #4BB431
split-complementary
#318DB4 #B4314B #B49A31
monochromatic
#174254 #246784 #318DB4 #52ABD0 #82C2DD

Accessibility & contrast

On white

3.75
#318DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#318DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318DB4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318DB4#FFFFFF#000000##000000
##318DB41.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#798BB6
Deuteranopia (green-blind)
#677EB3
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #318db4;
/* rgb */ color: rgb(49, 141, 180);
/* oklch */ color: oklch(60.7% 0.103 230.3);
Tailwind
colors: {
  custom: {
    50: '#7baeca',
    500: '#318db4',
    950: '#000000',
  },
}
SCSS
$custom: #318db4;
$custom-light: #7baeca;
$custom-dark: #000000;
JSON
{
  "hex": "#318db4",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 180
  },
  "hsl": {
    "h": 197.863,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60671,
    "c": 0.1029,
    "h": 230.3
  },
  "luminance": 0.22998
}

Semantic roles & 50–950 ramp

primary
#318DB4
secondary
#C6917B
accent
#7547E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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