#318FB5#318FB5

#318FB5 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.2% C 0.103 H 229.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#318FB5
RGBrgb(49, 143, 181)
HSLhsl(197, 57%, 45%)
HSVhsv(197, 73%, 71%)
CMYKcmyk(72.9%, 21%, 0%, 29%)
CIE-LABlab(55.72, -14.60, -27.76)
CIE-LCHlch(55.72, 31.37, 242.26°)
OKLaboklab(61.2% -0.0674 -0.0779)
OKLCHoklch(61.2% 0.103 229.1)
XYZxyz(19.4262, 23.6318, 47.2447)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318FB5 #B55731
analogous
#31B599 #318FB5 #314DB5
triadic
#318FB5 #B5318F #8FB531
tetradic
#318FB5 #9931B5 #B55731 #4DB531
square
#318FB5 #9931B5 #B55731 #4DB531
split-complementary
#318FB5 #B5314D #B59931
monochromatic
#174355 #246985 #318FB5 #53ACD0 #83C3DD

Accessibility & contrast

On white

3.67
#318FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#318FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318FB5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318FB5#FFFFFF#000000##000000
##318FB51.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB7
Deuteranopia (green-blind)
#6980B4
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #318fb5;
/* rgb */ color: rgb(49, 143, 181);
/* oklch */ color: oklch(61.2% 0.103 229.1);
Tailwind
colors: {
  custom: {
    50: '#7bafcb',
    500: '#318fb5',
    950: '#000000',
  },
}
SCSS
$custom: #318fb5;
$custom-light: #7bafcb;
$custom-dark: #000000;
JSON
{
  "hex": "#318fb5",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 181
  },
  "hsl": {
    "h": 197.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.61203,
    "c": 0.103,
    "h": 229.1
  },
  "luminance": 0.23634
}

Semantic roles & 50–950 ramp

primary
#318FB5
secondary
#C7917B
accent
#7347E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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