#318FB2#318FB2

#318FB2 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.1% C 0.101 H 227.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#318FB2
RGBrgb(49, 143, 178)
HSLhsl(196, 57%, 45%)
HSVhsv(196, 72%, 70%)
CMYKcmyk(72.5%, 19.7%, 0%, 30.2%)
CIE-LABlab(55.59, -15.62, -26.24)
CIE-LCHlch(55.59, 30.54, 239.24°)
OKLaboklab(61.06% -0.0685 -0.0735)
OKLCHoklch(61.06% 0.101 227)
XYZxyz(19.1217, 23.5100, 45.6410)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318FB2 #B25431
analogous
#31B295 #318FB2 #314FB2
triadic
#318FB2 #B2318F #8FB231
tetradic
#318FB2 #9531B2 #B25431 #4FB231
square
#318FB2 #9531B2 #B25431 #4FB231
split-complementary
#318FB2 #B2314F #B29531
monochromatic
#174252 #246882 #318FB2 #51ADCF #81C4DC

Accessibility & contrast

On white

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

On black

5.70
#318FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318FB2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318FB2#FFFFFF#000000##000000
##318FB21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB4
Deuteranopia (green-blind)
#6B80B2
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #318fb2;
/* rgb */ color: rgb(49, 143, 178);
/* oklch */ color: oklch(61.1% 0.101 227.0);
Tailwind
colors: {
  custom: {
    50: '#7bafc9',
    500: '#318fb2',
    950: '#000000',
  },
}
SCSS
$custom: #318fb2;
$custom-light: #7bafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#318fb2",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 178
  },
  "hsl": {
    "h": 196.279,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.1005,
    "h": 227
  },
  "luminance": 0.23512
}

Semantic roles & 50–950 ramp

primary
#318FB2
secondary
#C58E79
accent
#7148E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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