#318EB7#318EB7

#318EB7 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.1% C 0.105 H 231.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#318EB7
RGBrgb(49, 142, 183)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 73%, 72%)
CMYKcmyk(73.2%, 22.4%, 0%, 28.2%)
CIE-LABlab(55.50, -13.37, -29.24)
CIE-LCHlch(55.50, 32.15, 245.43°)
OKLaboklab(61.06% -0.0656 -0.0822)
OKLCHoklch(61.06% 0.105 231.4)
XYZxyz(19.4834, 23.4156, 48.2834)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EB7 #B75A31
analogous
#31B79D #318EB7 #314BB7
triadic
#318EB7 #B7318E #8EB731
tetradic
#318EB7 #9D31B7 #B75A31 #4BB731
square
#318EB7 #9D31B7 #B75A31 #4BB731
split-complementary
#318EB7 #B7314B #B79D31
monochromatic
#174356 #246987 #318EB7 #54ABD1 #84C3DE

Accessibility & contrast

On white

3.69
#318EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#318EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EB7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EB7#FFFFFF#000000##000000
##318EB71.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#798CB9
Deuteranopia (green-blind)
#677FB6
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #318eb7;
/* rgb */ color: rgb(49, 142, 183);
/* oklch */ color: oklch(61.1% 0.105 231.4);
Tailwind
colors: {
  custom: {
    50: '#7bafcc',
    500: '#318eb7',
    950: '#000000',
  },
}
SCSS
$custom: #318eb7;
$custom-light: #7bafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#318eb7",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 183
  },
  "hsl": {
    "h": 198.358,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.61056,
    "c": 0.10517,
    "h": 231.4
  },
  "luminance": 0.23418
}

Semantic roles & 50–950 ramp

primary
#318EB7
secondary
#C8937C
accent
#7647E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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