#318BB7#318BB7

#318BB7 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.3% C 0.107 H 234.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#318BB7
RGBrgb(49, 139, 183)
HSLhsl(200, 58%, 45%)
HSVhsv(200, 73%, 72%)
CMYKcmyk(73.2%, 24%, 0%, 28.2%)
CIE-LABlab(54.59, -11.69, -30.65)
CIE-LCHlch(54.59, 32.81, 249.12°)
OKLaboklab(60.33% -0.0627 -0.0863)
OKLCHoklch(60.33% 0.107 234)
XYZxyz(19.0431, 22.5349, 48.1366)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318BB7 #B75D31
analogous
#31B7A0 #318BB7 #3148B7
triadic
#318BB7 #B7318B #8BB731
tetradic
#318BB7 #A031B7 #B75D31 #48B731
square
#318BB7 #A031B7 #B75D31 #48B731
split-complementary
#318BB7 #B73148 #B7A031
monochromatic
#174256 #246687 #318BB7 #54A8D1 #84C1DE

Accessibility & contrast

On white

3.81
#318BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#318BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318BB7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318BB7#FFFFFF#000000##000000
##318BB71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#758AB9
Deuteranopia (green-blind)
#637DB6
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318bb7;
/* rgb */ color: rgb(49, 139, 183);
/* oklch */ color: oklch(60.3% 0.107 234.0);
Tailwind
colors: {
  custom: {
    50: '#7baccc',
    500: '#318bb7',
    950: '#000000',
  },
}
SCSS
$custom: #318bb7;
$custom-light: #7baccc;
$custom-dark: #000000;
JSON
{
  "hex": "#318bb7",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 183
  },
  "hsl": {
    "h": 199.701,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.10662,
    "h": 234
  },
  "luminance": 0.22537
}

Semantic roles & 50–950 ramp

primary
#318BB7
secondary
#C8957C
accent
#7947E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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