#318EBA#318EBA

#318EBA is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.2% C 0.108 H 233.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#318EBA
RGBrgb(49, 142, 186)
HSLhsl(199, 58%, 46%)
HSVhsv(199, 74%, 73%)
CMYKcmyk(73.7%, 23.7%, 0%, 27.1%)
CIE-LABlab(55.63, -12.34, -30.75)
CIE-LCHlch(55.63, 33.13, 248.14°)
OKLaboklab(61.2% -0.0646 -0.0865)
OKLCHoklch(61.2% 0.108 233.3)
XYZxyz(19.7990, 23.5418, 49.9454)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EBA #BA5D31
analogous
#31BAA1 #318EBA #3149BA
triadic
#318EBA #BA318E #8EBA31
tetradic
#318EBA #A131BA #BA5D31 #49BA31
square
#318EBA #A131BA #BA5D31 #49BA31
split-complementary
#318EBA #BA3149 #BAA131
monochromatic
#174459 #24698A #318EBA #56AAD2 #86C3DF

Accessibility & contrast

On white

3.68
#318EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#318EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EBA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EBA#FFFFFF#000000##000000
##318EBA1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBC
Deuteranopia (green-blind)
#667FB9
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #318eba;
/* rgb */ color: rgb(49, 142, 186);
/* oklch */ color: oklch(61.2% 0.108 233.3);
Tailwind
colors: {
  custom: {
    50: '#7cafcf',
    500: '#318eba',
    950: '#000000',
  },
}
SCSS
$custom: #318eba;
$custom-light: #7cafcf;
$custom-dark: #000000;
JSON
{
  "hex": "#318eba",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 186
  },
  "hsl": {
    "h": 199.27,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.612,
    "c": 0.10796,
    "h": 233.3
  },
  "luminance": 0.23544
}

Semantic roles & 50–950 ramp

primary
#318EBA
secondary
#C9967E
accent
#7846E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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