#318EB9#318EB9

#318EB9 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.2% C 0.107 H 232.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#318EB9
RGBrgb(49, 142, 185)
HSLhsl(199, 58%, 46%)
HSVhsv(199, 74%, 73%)
CMYKcmyk(73.5%, 23.2%, 0%, 27.5%)
CIE-LABlab(55.58, -12.68, -30.25)
CIE-LCHlch(55.58, 32.80, 247.25°)
OKLaboklab(61.15% -0.0649 -0.0851)
OKLCHoklch(61.15% 0.107 232.7)
XYZxyz(19.6931, 23.4995, 49.3875)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EB9 #B95C31
analogous
#31B9A0 #318EB9 #314AB9
triadic
#318EB9 #B9318E #8EB931
tetradic
#318EB9 #A031B9 #B95C31 #4AB931
square
#318EB9 #A031B9 #B95C31 #4AB931
split-complementary
#318EB9 #B9314A #B9A031
monochromatic
#174458 #246989 #318EB9 #55ABD2 #86C3DF

Accessibility & contrast

On white

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

On black

5.70
#318EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EB9
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EB9#FFFFFF#000000##000000
##318EB91.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#798DBB
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #318eb9;
/* rgb */ color: rgb(49, 142, 185);
/* oklch */ color: oklch(61.2% 0.107 232.7);
Tailwind
colors: {
  custom: {
    50: '#7cafce',
    500: '#318eb9',
    950: '#000000',
  },
}
SCSS
$custom: #318eb9;
$custom-light: #7cafce;
$custom-dark: #000000;
JSON
{
  "hex": "#318eb9",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 185
  },
  "hsl": {
    "h": 198.971,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.61152,
    "c": 0.10701,
    "h": 232.7
  },
  "luminance": 0.23502
}

Semantic roles & 50–950 ramp

primary
#318EB9
secondary
#C8957D
accent
#7746E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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