#318BA4#318BA4

#318BA4 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.5% C 0.091 H 220.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#318BA4
RGBrgb(49, 139, 164)
HSLhsl(193, 54%, 42%)
HSVhsv(193, 70%, 64%)
CMYKcmyk(70.1%, 15.2%, 0%, 35.7%)
CIE-LABlab(53.81, -18.11, -20.96)
CIE-LCHlch(53.81, 27.70, 229.17°)
OKLaboklab(59.45% -0.0698 -0.0585)
OKLCHoklch(59.45% 0.091 220)
XYZxyz(17.1973, 21.7966, 38.4156)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318BA4 #A44A31
analogous
#31A484 #318BA4 #3152A4
triadic
#318BA4 #A4318B #8BA431
tetradic
#318BA4 #8431A4 #A44A31 #52A431
square
#318BA4 #8431A4 #A44A31 #52A431
split-complementary
#318BA4 #A43152 #A48431
monochromatic
#153B46 #236375 #318BA4 #49ADC9 #79C2D7

Accessibility & contrast

On white

3.92
#318BA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#318BA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318BA4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318BA4#FFFFFF#000000##000000
##318BA41.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C87A5
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#009393
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #318ba4;
/* rgb */ color: rgb(49, 139, 164);
/* oklch */ color: oklch(59.5% 0.091 220.0);
Tailwind
colors: {
  custom: {
    50: '#78adbf',
    500: '#318ba4',
    950: '#000000',
  },
}
SCSS
$custom: #318ba4;
$custom-light: #78adbf;
$custom-dark: #000000;
JSON
{
  "hex": "#318ba4",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 164
  },
  "hsl": {
    "h": 193.043,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59451,
    "c": 0.09108,
    "h": 220
  },
  "luminance": 0.21799
}

Semantic roles & 50–950 ramp

primary
#318BA4
secondary
#BF8272
accent
#6A4ADD
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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