#318AB2#318AB2

#318AB2 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.102 H 231.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#318AB2
RGBrgb(49, 138, 178)
HSLhsl(199, 57%, 45%)
HSVhsv(199, 72%, 70%)
CMYKcmyk(72.5%, 22.5%, 0%, 30.2%)
CIE-LABlab(54.07, -12.85, -28.60)
CIE-LCHlch(54.07, 31.35, 245.80°)
OKLaboklab(59.85% -0.0634 -0.0803)
OKLCHoklch(59.85% 0.102 231.7)
XYZxyz(18.3878, 22.0422, 45.3963)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318AB2 #B25931
analogous
#31B29A #318AB2 #3149B2
triadic
#318AB2 #B2318A #8AB231
tetradic
#318AB2 #9A31B2 #B25931 #49B231
square
#318AB2 #9A31B2 #B25931 #49B231
split-complementary
#318AB2 #B23149 #B29A31
monochromatic
#174052 #246582 #318AB2 #51A8CF #81C0DC

Accessibility & contrast

On white

3.88
#318AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#318AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318AB2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318AB2#FFFFFF#000000##000000
##318AB21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7688B4
Deuteranopia (green-blind)
#647CB1
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #318ab2;
/* rgb */ color: rgb(49, 138, 178);
/* oklch */ color: oklch(59.8% 0.102 231.7);
Tailwind
colors: {
  custom: {
    50: '#7aacc9',
    500: '#318ab2',
    950: '#000000',
  },
}
SCSS
$custom: #318ab2;
$custom-light: #7aacc9;
$custom-dark: #000000;
JSON
{
  "hex": "#318ab2",
  "rgb": {
    "r": 49,
    "g": 138,
    "b": 178
  },
  "hsl": {
    "h": 198.605,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59848,
    "c": 0.10238,
    "h": 231.7
  },
  "luminance": 0.22044
}

Semantic roles & 50–950 ramp

primary
#318AB2
secondary
#C59179
accent
#7748E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #318AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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