#398BD2#398BD2

#398BD2 is a mid, vivid cyan. Relative luminance 0.240; OKLCH L 62.0% C 0.133 H 248.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#398BD2
RGBrgb(57, 139, 210)
HSLhsl(208, 63%, 52%)
HSVhsv(208, 73%, 82%)
CMYKcmyk(72.9%, 33.8%, 0%, 17.6%)
CIE-LABlab(56.07, -1.14, -43.62)
CIE-LCHlch(56.07, 43.63, 268.51°)
OKLaboklab(61.98% -0.0498 -0.1239)
OKLCHoklch(61.98% 0.133 248.1)
XYZxyz(22.5484, 23.9857, 64.4016)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BD2 #D28039
analogous
#39D2CC #398BD2 #393FD2
triadic
#398BD2 #D2398B #8BD239
tetradic
#398BD2 #CC39D2 #D28039 #3FD239
square
#398BD2 #CC39D2 #D28039 #3FD239
split-complementary
#398BD2 #D2393F #D2CC39
monochromatic
#1B4C76 #266CA8 #398BD2 #6BA8DD #9DC5E9

Accessibility & contrast

On white

3.62
#398BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#398BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BD2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BD2#FFFFFF#000000##000000
##398BD21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8ED5
Deuteranopia (green-blind)
#5580D1
Tritanopia (blue-blind)
#009CA5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398bd2;
/* rgb */ color: rgb(57, 139, 210);
/* oklch */ color: oklch(62.0% 0.133 248.1);
Tailwind
colors: {
  custom: {
    50: '#82ace0',
    500: '#398bd2',
    950: '#000000',
  },
}
SCSS
$custom: #398bd2;
$custom-light: #82ace0;
$custom-dark: #000000;
JSON
{
  "hex": "#398bd2",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 207.843,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61983,
    "c": 0.13349,
    "h": 248.1
  },
  "luminance": 0.23988
}

Semantic roles & 50–950 ramp

primary
#398BD2
secondary
#D5B192
accent
#8E42E6
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #398BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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