#318FB3#318FB3

#318FB3 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.1% C 0.101 H 227.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#318FB3
RGBrgb(49, 143, 179)
HSLhsl(197, 57%, 45%)
HSVhsv(197, 73%, 70%)
CMYKcmyk(72.6%, 20.1%, 0%, 29.8%)
CIE-LABlab(55.63, -15.28, -26.75)
CIE-LCHlch(55.63, 30.81, 240.26°)
OKLaboklab(61.11% -0.0681 -0.075)
OKLCHoklch(61.11% 0.101 227.8)
XYZxyz(19.2225, 23.5503, 46.1717)
Luminance0.2355 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318FB3 #B35531
analogous
#31B396 #318FB3 #314EB3
triadic
#318FB3 #B3318F #8FB331
tetradic
#318FB3 #9631B3 #B35531 #4EB331
square
#318FB3 #9631B3 #B35531 #4EB331
split-complementary
#318FB3 #B3314E #B39631
monochromatic
#174253 #246983 #318FB3 #52ADD0 #82C4DD

Accessibility & contrast

On white

3.68
#318FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#318FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318FB3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318FB3#FFFFFF#000000##000000
##318FB31.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB5
Deuteranopia (green-blind)
#6A80B3
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #318fb3;
/* rgb */ color: rgb(49, 143, 179);
/* oklch */ color: oklch(61.1% 0.101 227.8);
Tailwind
colors: {
  custom: {
    50: '#7bafca',
    500: '#318fb3',
    950: '#000000',
  },
}
SCSS
$custom: #318fb3;
$custom-light: #7bafca;
$custom-dark: #000000;
JSON
{
  "hex": "#318fb3",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 179
  },
  "hsl": {
    "h": 196.615,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.10131,
    "h": 227.8
  },
  "luminance": 0.23553
}

Semantic roles & 50–950 ramp

primary
#318FB3
secondary
#C68F7A
accent
#7248E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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