#318FB4#318FB4

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

Color values

HEX#318FB4
RGBrgb(49, 143, 180)
HSLhsl(197, 57%, 45%)
HSVhsv(197, 73%, 71%)
CMYKcmyk(72.8%, 20.6%, 0%, 29.4%)
CIE-LABlab(55.68, -14.94, -27.26)
CIE-LCHlch(55.68, 31.08, 241.27°)
OKLaboklab(61.16% -0.0677 -0.0765)
OKLCHoklch(61.16% 0.102 228.5)
XYZxyz(19.3240, 23.5909, 46.7062)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318FB4 #B45631
analogous
#31B498 #318FB4 #314DB4
triadic
#318FB4 #B4318F #8FB431
tetradic
#318FB4 #9831B4 #B45631 #4DB431
square
#318FB4 #9831B4 #B45631 #4DB431
split-complementary
#318FB4 #B4314D #B49831
monochromatic
#174354 #246984 #318FB4 #52ACD0 #82C3DD

Accessibility & contrast

On white

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

On black

5.72
#318FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318FB4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318FB4#FFFFFF#000000##000000
##318FB41.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #318fb4;
/* rgb */ color: rgb(49, 143, 180);
/* oklch */ color: oklch(61.2% 0.102 228.5);
Tailwind
colors: {
  custom: {
    50: '#7bafca',
    500: '#318fb4',
    950: '#000000',
  },
}
SCSS
$custom: #318fb4;
$custom-light: #7bafca;
$custom-dark: #000000;
JSON
{
  "hex": "#318fb4",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 180
  },
  "hsl": {
    "h": 196.947,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.61156,
    "c": 0.10215,
    "h": 228.5
  },
  "luminance": 0.23593
}

Semantic roles & 50–950 ramp

primary
#318FB4
secondary
#C6907B
accent
#7347E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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