#318BB4#318BB4

#318BB4 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.2% C 0.104 H 232.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#318BB4
RGBrgb(49, 139, 180)
HSLhsl(199, 57%, 45%)
HSVhsv(199, 73%, 71%)
CMYKcmyk(72.8%, 22.8%, 0%, 29.4%)
CIE-LABlab(54.46, -12.73, -29.14)
CIE-LCHlch(54.46, 31.80, 246.41°)
OKLaboklab(60.19% -0.0637 -0.0819)
OKLCHoklch(60.19% 0.104 232.1)
XYZxyz(18.7342, 22.4113, 46.5096)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318BB4 #B45A31
analogous
#31B49C #318BB4 #3149B4
triadic
#318BB4 #B4318B #8BB431
tetradic
#318BB4 #9C31B4 #B45A31 #49B431
square
#318BB4 #9C31B4 #B45A31 #49B431
split-complementary
#318BB4 #B43149 #B49C31
monochromatic
#174154 #246684 #318BB4 #52A9D0 #82C1DD

Accessibility & contrast

On white

3.83
#318BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#318BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318BB4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318BB4#FFFFFF#000000##000000
##318BB41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B6
Deuteranopia (green-blind)
#657DB3
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #318bb4;
/* rgb */ color: rgb(49, 139, 180);
/* oklch */ color: oklch(60.2% 0.104 232.1);
Tailwind
colors: {
  custom: {
    50: '#7bacca',
    500: '#318bb4',
    950: '#000000',
  },
}
SCSS
$custom: #318bb4;
$custom-light: #7bacca;
$custom-dark: #000000;
JSON
{
  "hex": "#318bb4",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 180
  },
  "hsl": {
    "h": 198.779,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60186,
    "c": 0.10377,
    "h": 232.1
  },
  "luminance": 0.22413
}

Semantic roles & 50–950 ramp

primary
#318BB4
secondary
#C6927B
accent
#7747E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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