#318BB3#318BB3

#318BB3 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.1% C 0.103 H 231.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#318BB3
RGBrgb(49, 139, 179)
HSLhsl(198, 57%, 45%)
HSVhsv(198, 73%, 70%)
CMYKcmyk(72.6%, 22.3%, 0%, 29.8%)
CIE-LABlab(54.42, -13.07, -28.63)
CIE-LCHlch(54.42, 31.47, 245.47°)
OKLaboklab(60.14% -0.0641 -0.0804)
OKLCHoklch(60.14% 0.103 231.5)
XYZxyz(18.6327, 22.3707, 45.9751)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318BB3 #B35931
analogous
#31B39A #318BB3 #314AB3
triadic
#318BB3 #B3318B #8BB331
tetradic
#318BB3 #9A31B3 #B35931 #4AB331
square
#318BB3 #9A31B3 #B35931 #4AB331
split-complementary
#318BB3 #B3314A #B39A31
monochromatic
#174053 #246683 #318BB3 #52A9D0 #82C1DD

Accessibility & contrast

On white

3.84
#318BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#318BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318BB3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318BB3#FFFFFF#000000##000000
##318BB31.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B5
Deuteranopia (green-blind)
#657DB2
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #318bb3;
/* rgb */ color: rgb(49, 139, 179);
/* oklch */ color: oklch(60.1% 0.103 231.5);
Tailwind
colors: {
  custom: {
    50: '#7aacca',
    500: '#318bb3',
    950: '#000000',
  },
}
SCSS
$custom: #318bb3;
$custom-light: #7aacca;
$custom-dark: #000000;
JSON
{
  "hex": "#318bb3",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 179
  },
  "hsl": {
    "h": 198.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60138,
    "c": 0.10285,
    "h": 231.5
  },
  "luminance": 0.22373
}

Semantic roles & 50–950 ramp

primary
#318BB3
secondary
#C6917A
accent
#7748E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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