#318EB5#318EB5

#318EB5 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.0% C 0.103 H 230.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#318EB5
RGBrgb(49, 142, 181)
HSLhsl(198, 57%, 45%)
HSVhsv(198, 73%, 71%)
CMYKcmyk(72.9%, 21.5%, 0%, 29%)
CIE-LABlab(55.41, -14.05, -28.23)
CIE-LCHlch(55.41, 31.54, 243.54°)
OKLaboklab(60.96% -0.0664 -0.0793)
OKLCHoklch(60.96% 0.103 230.1)
XYZxyz(19.2768, 23.3329, 47.1949)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EB5 #B55831
analogous
#31B59A #318EB5 #314CB5
triadic
#318EB5 #B5318E #8EB531
tetradic
#318EB5 #9A31B5 #B55831 #4CB531
square
#318EB5 #9A31B5 #B55831 #4CB531
split-complementary
#318EB5 #B5314C #B59A31
monochromatic
#174255 #246885 #318EB5 #53ABD0 #83C3DD

Accessibility & contrast

On white

3.71
#318EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#318EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EB5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EB5#FFFFFF#000000##000000
##318EB51.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8CB7
Deuteranopia (green-blind)
#687FB4
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #318eb5;
/* rgb */ color: rgb(49, 142, 181);
/* oklch */ color: oklch(61.0% 0.103 230.1);
Tailwind
colors: {
  custom: {
    50: '#7bafcb',
    500: '#318eb5',
    950: '#000000',
  },
}
SCSS
$custom: #318eb5;
$custom-light: #7bafcb;
$custom-dark: #000000;
JSON
{
  "hex": "#318eb5",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 181
  },
  "hsl": {
    "h": 197.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60961,
    "c": 0.10339,
    "h": 230.1
  },
  "luminance": 0.23335
}

Semantic roles & 50–950 ramp

primary
#318EB5
secondary
#C7917B
accent
#7547E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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