#318FBA#318FBA

#318FBA is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.4% C 0.107 H 232.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#318FBA
RGBrgb(49, 143, 186)
HSLhsl(199, 58%, 46%)
HSVhsv(199, 74%, 73%)
CMYKcmyk(73.7%, 23.1%, 0%, 27.1%)
CIE-LABlab(55.93, -12.89, -30.28)
CIE-LCHlch(55.93, 32.91, 246.93°)
OKLaboklab(61.44% -0.0655 -0.0852)
OKLCHoklch(61.44% 0.107 232.4)
XYZxyz(19.9485, 23.8407, 49.9952)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318FBA #BA5C31
analogous
#31BAA0 #318FBA #314ABA
triadic
#318FBA #BA318F #8FBA31
tetradic
#318FBA #A031BA #BA5C31 #4ABA31
square
#318FBA #A031BA #BA5C31 #4ABA31
split-complementary
#318FBA #BA314A #BAA031
monochromatic
#174559 #246A8A #318FBA #56ABD2 #86C3DF

Accessibility & contrast

On white

3.64
#318FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#318FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318FBA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318FBA#FFFFFF#000000##000000
##318FBA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8DBC
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#009B9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #318fba;
/* rgb */ color: rgb(49, 143, 186);
/* oklch */ color: oklch(61.4% 0.107 232.4);
Tailwind
colors: {
  custom: {
    50: '#7cafcf',
    500: '#318fba',
    950: '#000000',
  },
}
SCSS
$custom: #318fba;
$custom-light: #7cafcf;
$custom-dark: #000000;
JSON
{
  "hex": "#318fba",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 186
  },
  "hsl": {
    "h": 198.832,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61441,
    "c": 0.10747,
    "h": 232.4
  },
  "luminance": 0.23843
}

Semantic roles & 50–950 ramp

primary
#318FBA
secondary
#C9957E
accent
#7746E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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