#318BB2#318BB2

#318BB2 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.1% C 0.102 H 230.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#318BB2
RGBrgb(49, 139, 178)
HSLhsl(198, 57%, 45%)
HSVhsv(198, 72%, 70%)
CMYKcmyk(72.5%, 21.9%, 0%, 30.2%)
CIE-LABlab(54.38, -13.41, -28.13)
CIE-LCHlch(54.38, 31.16, 244.51°)
OKLaboklab(60.09% -0.0644 -0.079)
OKLCHoklch(60.09% 0.102 230.8)
XYZxyz(18.5319, 22.3304, 45.4444)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318BB2 #B25831
analogous
#31B299 #318BB2 #314AB2
triadic
#318BB2 #B2318B #8BB231
tetradic
#318BB2 #9931B2 #B25831 #4AB231
square
#318BB2 #9931B2 #B25831 #4AB231
split-complementary
#318BB2 #B2314A #B29931
monochromatic
#174052 #246682 #318BB2 #51A9CF #81C1DC

Accessibility & contrast

On white

3.84
#318BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#318BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318BB2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318BB2#FFFFFF#000000##000000
##318BB21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B4
Deuteranopia (green-blind)
#667DB1
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #318bb2;
/* rgb */ color: rgb(49, 139, 178);
/* oklch */ color: oklch(60.1% 0.102 230.8);
Tailwind
colors: {
  custom: {
    50: '#7aacc9',
    500: '#318bb2',
    950: '#000000',
  },
}
SCSS
$custom: #318bb2;
$custom-light: #7aacc9;
$custom-dark: #000000;
JSON
{
  "hex": "#318bb2",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 198.14,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6009,
    "c": 0.10194,
    "h": 230.8
  },
  "luminance": 0.22333
}

Semantic roles & 50–950 ramp

primary
#318BB2
secondary
#C59079
accent
#7648E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #318BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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