#318FB8#318FB8

#318FB8 is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.3% C 0.106 H 231.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#318FB8
RGBrgb(49, 143, 184)
HSLhsl(198, 58%, 46%)
HSVhsv(198, 73%, 72%)
CMYKcmyk(73.4%, 22.3%, 0%, 27.8%)
CIE-LABlab(55.84, -13.58, -29.28)
CIE-LCHlch(55.84, 32.27, 245.11°)
OKLaboklab(61.35% -0.0663 -0.0823)
OKLCHoklch(61.35% 0.106 231.1)
XYZxyz(19.7373, 23.7563, 48.8833)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318FB8 #B85A31
analogous
#31B89D #318FB8 #314BB8
triadic
#318FB8 #B8318F #8FB831
tetradic
#318FB8 #9D31B8 #B85A31 #4BB831
square
#318FB8 #9D31B8 #B85A31 #4BB831
split-complementary
#318FB8 #B8314B #B89D31
monochromatic
#174457 #246988 #318FB8 #55ACD2 #85C3DE

Accessibility & contrast

On white

3.65
#318FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#318FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318FB8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318FB8#FFFFFF#000000##000000
##318FB81.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8DBA
Deuteranopia (green-blind)
#6880B7
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #318fb8;
/* rgb */ color: rgb(49, 143, 184);
/* oklch */ color: oklch(61.3% 0.106 231.1);
Tailwind
colors: {
  custom: {
    50: '#7bafcd',
    500: '#318fb8',
    950: '#000000',
  },
}
SCSS
$custom: #318fb8;
$custom-light: #7bafcd;
$custom-dark: #000000;
JSON
{
  "hex": "#318fb8",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 184
  },
  "hsl": {
    "h": 198.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61345,
    "c": 0.10563,
    "h": 231.1
  },
  "luminance": 0.23759
}

Semantic roles & 50–950 ramp

primary
#318FB8
secondary
#C8947D
accent
#7647E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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