#318CB3#318CB3

#318CB3 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.102 H 230.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#318CB3
RGBrgb(49, 140, 179)
HSLhsl(198, 57%, 45%)
HSVhsv(198, 73%, 70%)
CMYKcmyk(72.6%, 21.8%, 0%, 29.8%)
CIE-LABlab(54.72, -13.63, -28.16)
CIE-LCHlch(54.72, 31.28, 244.18°)
OKLaboklab(60.38% -0.0651 -0.0791)
OKLCHoklch(60.38% 0.102 230.5)
XYZxyz(18.7781, 22.6617, 46.0236)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318CB3 #B35831
analogous
#31B399 #318CB3 #314BB3
triadic
#318CB3 #B3318C #8CB331
tetradic
#318CB3 #9931B3 #B35831 #4BB331
square
#318CB3 #9931B3 #B35831 #4BB331
split-complementary
#318CB3 #B3314B #B39931
monochromatic
#174153 #246683 #318CB3 #52AAD0 #82C1DD

Accessibility & contrast

On white

3.80
#318CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#318CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318CB3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318CB3#FFFFFF#000000##000000
##318CB31.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB5
Deuteranopia (green-blind)
#667DB2
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318cb3;
/* rgb */ color: rgb(49, 140, 179);
/* oklch */ color: oklch(60.4% 0.102 230.5);
Tailwind
colors: {
  custom: {
    50: '#7badca',
    500: '#318cb3',
    950: '#000000',
  },
}
SCSS
$custom: #318cb3;
$custom-light: #7badca;
$custom-dark: #000000;
JSON
{
  "hex": "#318cb3",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 179
  },
  "hsl": {
    "h": 198,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60381,
    "c": 0.10242,
    "h": 230.5
  },
  "luminance": 0.22664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #318CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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