#318EB3#318EB3

#318EB3 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.9% C 0.102 H 228.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#318EB3
RGBrgb(49, 142, 179)
HSLhsl(197, 57%, 45%)
HSVhsv(197, 73%, 70%)
CMYKcmyk(72.6%, 20.7%, 0%, 29.8%)
CIE-LABlab(55.33, -14.73, -27.22)
CIE-LCHlch(55.33, 30.95, 241.58°)
OKLaboklab(60.87% -0.0671 -0.0764)
OKLCHoklch(60.87% 0.102 228.7)
XYZxyz(19.0730, 23.2514, 46.1219)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EB3 #B35631
analogous
#31B397 #318EB3 #314DB3
triadic
#318EB3 #B3318E #8EB331
tetradic
#318EB3 #9731B3 #B35631 #4DB331
square
#318EB3 #9731B3 #B35631 #4DB331
split-complementary
#318EB3 #B3314D #B39731
monochromatic
#174253 #246883 #318EB3 #52ACD0 #82C3DD

Accessibility & contrast

On white

3.72
#318EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#318EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EB3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EB3#FFFFFF#000000##000000
##318EB31.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB5
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #318eb3;
/* rgb */ color: rgb(49, 142, 179);
/* oklch */ color: oklch(60.9% 0.102 228.7);
Tailwind
colors: {
  custom: {
    50: '#7bafca',
    500: '#318eb3',
    950: '#000000',
  },
}
SCSS
$custom: #318eb3;
$custom-light: #7bafca;
$custom-dark: #000000;
JSON
{
  "hex": "#318eb3",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 179
  },
  "hsl": {
    "h": 197.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60867,
    "c": 0.10165,
    "h": 228.7
  },
  "luminance": 0.23254
}

Semantic roles & 50–950 ramp

primary
#318EB3
secondary
#C6907A
accent
#7348E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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