#398CC4#398CC4

#398CC4 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.5% C 0.116 H 241.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#398CC4
RGBrgb(57, 140, 196)
HSLhsl(204, 55%, 50%)
HSVhsv(204, 71%, 77%)
CMYKcmyk(70.9%, 28.6%, 0%, 23.1%)
CIE-LABlab(55.69, -6.63, -36.31)
CIE-LCHlch(55.69, 36.91, 259.64°)
OKLaboklab(61.46% -0.0549 -0.1025)
OKLCHoklch(61.46% 0.116 241.8)
XYZxyz(21.0254, 23.6092, 55.6628)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CC4 #C47139
analogous
#39C4B7 #398CC4 #3946C4
triadic
#398CC4 #C4398C #8CC439
tetradic
#398CC4 #B739C4 #C47139 #46C439
square
#398CC4 #B739C4 #C47139 #46C439
split-complementary
#398CC4 #C43946 #C4B739
monochromatic
#1D4865 #2B6A95 #398CC4 #67A8D3 #97C3E1

Accessibility & contrast

On white

3.67
#398CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#398CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CC4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CC4#FFFFFF#000000##000000
##398CC41.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#728DC7
Deuteranopia (green-blind)
#5F7FC3
Tritanopia (blue-blind)
#009AA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398cc4;
/* rgb */ color: rgb(57, 140, 196);
/* oklch */ color: oklch(61.5% 0.116 241.8);
Tailwind
colors: {
  custom: {
    50: '#80add6',
    500: '#398cc4',
    950: '#000000',
  },
}
SCSS
$custom: #398cc4;
$custom-light: #80add6;
$custom-dark: #000000;
JSON
{
  "hex": "#398cc4",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 196
  },
  "hsl": {
    "h": 204.173,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61464,
    "c": 0.11633,
    "h": 241.8
  },
  "luminance": 0.23612
}

Semantic roles & 50–950 ramp

primary
#398CC4
secondary
#CCA68D
accent
#854ADE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #398CC4

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

Preview Lab → · Contrast checker → · Palette generator →

#398CC4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva