#318FB7#318FB7

#318FB7 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.3% C 0.105 H 230.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#318FB7
RGBrgb(49, 143, 183)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 73%, 72%)
CMYKcmyk(73.2%, 21.9%, 0%, 28.2%)
CIE-LABlab(55.80, -13.92, -28.77)
CIE-LCHlch(55.80, 31.96, 244.18°)
OKLaboklab(61.3% -0.0666 -0.0808)
OKLCHoklch(61.3% 0.105 230.5)
XYZxyz(19.6329, 23.7145, 48.3332)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318FB7 #B75931
analogous
#31B79C #318FB7 #314CB7
triadic
#318FB7 #B7318F #8FB731
tetradic
#318FB7 #9C31B7 #B75931 #4CB731
square
#318FB7 #9C31B7 #B75931 #4CB731
split-complementary
#318FB7 #B7314C #B79C31
monochromatic
#174456 #246987 #318FB7 #54ACD1 #84C3DE

Accessibility & contrast

On white

3.66
#318FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#318FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318FB7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318FB7#FFFFFF#000000##000000
##318FB71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB9
Deuteranopia (green-blind)
#6880B6
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #318fb7;
/* rgb */ color: rgb(49, 143, 183);
/* oklch */ color: oklch(61.3% 0.105 230.5);
Tailwind
colors: {
  custom: {
    50: '#7bafcc',
    500: '#318fb7',
    950: '#000000',
  },
}
SCSS
$custom: #318fb7;
$custom-light: #7bafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#318fb7",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 183
  },
  "hsl": {
    "h": 197.91,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.61297,
    "c": 0.10474,
    "h": 230.5
  },
  "luminance": 0.23717
}

Semantic roles & 50–950 ramp

primary
#318FB7
secondary
#C8937C
accent
#7547E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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