#318BB5#318BB5

#318BB5 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.2% C 0.105 H 232.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#318BB5
RGBrgb(49, 139, 181)
HSLhsl(199, 57%, 45%)
HSVhsv(199, 73%, 71%)
CMYKcmyk(72.9%, 23.2%, 0%, 29%)
CIE-LABlab(54.50, -12.38, -29.64)
CIE-LCHlch(54.50, 32.13, 247.33°)
OKLaboklab(60.24% -0.0634 -0.0833)
OKLCHoklch(60.24% 0.105 232.8)
XYZxyz(18.8364, 22.4522, 47.0481)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318BB5 #B55B31
analogous
#31B59D #318BB5 #3149B5
triadic
#318BB5 #B5318B #8BB531
tetradic
#318BB5 #9D31B5 #B55B31 #49B531
square
#318BB5 #9D31B5 #B55B31 #49B531
split-complementary
#318BB5 #B53149 #B59D31
monochromatic
#174155 #246685 #318BB5 #53A8D0 #83C1DD

Accessibility & contrast

On white

3.82
#318BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#318BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318BB5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318BB5#FFFFFF#000000##000000
##318BB51.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#768AB7
Deuteranopia (green-blind)
#647DB4
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #318bb5;
/* rgb */ color: rgb(49, 139, 181);
/* oklch */ color: oklch(60.2% 0.105 232.8);
Tailwind
colors: {
  custom: {
    50: '#7baccb',
    500: '#318bb5',
    950: '#000000',
  },
}
SCSS
$custom: #318bb5;
$custom-light: #7baccb;
$custom-dark: #000000;
JSON
{
  "hex": "#318bb5",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 181
  },
  "hsl": {
    "h": 199.091,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60235,
    "c": 0.1047,
    "h": 232.8
  },
  "luminance": 0.22454
}

Semantic roles & 50–950 ramp

primary
#318BB5
secondary
#C7937B
accent
#7847E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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