#318DB5#318DB5

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

Color values

HEX#318DB5
RGBrgb(49, 141, 181)
HSLhsl(198, 57%, 45%)
HSVhsv(198, 73%, 71%)
CMYKcmyk(72.9%, 22.1%, 0%, 29%)
CIE-LABlab(55.11, -13.50, -28.70)
CIE-LCHlch(55.11, 31.72, 244.81°)
OKLaboklab(60.72% -0.0654 -0.0806)
OKLCHoklch(60.72% 0.104 231)
XYZxyz(19.1286, 23.0367, 47.1455)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318DB5 #B55931
analogous
#31B59B #318DB5 #314BB5
triadic
#318DB5 #B5318D #8DB531
tetradic
#318DB5 #9B31B5 #B55931 #4BB531
square
#318DB5 #9B31B5 #B55931 #4BB531
split-complementary
#318DB5 #B5314B #B59B31
monochromatic
#174255 #246785 #318DB5 #53AAD0 #83C2DD

Accessibility & contrast

On white

3.74
#318DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#318DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318DB5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318DB5#FFFFFF#000000##000000
##318DB51.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #318db5;
/* rgb */ color: rgb(49, 141, 181);
/* oklch */ color: oklch(60.7% 0.104 231.0);
Tailwind
colors: {
  custom: {
    50: '#7baecb',
    500: '#318db5',
    950: '#000000',
  },
}
SCSS
$custom: #318db5;
$custom-light: #7baecb;
$custom-dark: #000000;
JSON
{
  "hex": "#318db5",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 181
  },
  "hsl": {
    "h": 198.182,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60718,
    "c": 0.1038,
    "h": 231
  },
  "luminance": 0.23039
}

Semantic roles & 50–950 ramp

primary
#318DB5
secondary
#C7927B
accent
#7647E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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