#398EBC#398EBC

#398EBC is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.5% C 0.107 H 236.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#398EBC
RGBrgb(57, 142, 188)
HSLhsl(201, 53%, 48%)
HSVhsv(201, 70%, 74%)
CMYKcmyk(69.7%, 24.5%, 0%, 26.3%)
CIE-LABlab(55.93, -10.52, -31.40)
CIE-LCHlch(55.93, 33.11, 251.48°)
OKLaboklab(61.53% -0.0596 -0.0883)
OKLCHoklch(61.53% 0.107 236)
XYZxyz(20.4339, 23.8444, 51.0927)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EBC #BC6739
analogous
#39BCA8 #398EBC #394CBC
triadic
#398EBC #BC398E #8EBC39
tetradic
#398EBC #A839BC #BC6739 #4CBC39
square
#398EBC #A839BC #BC6739 #4CBC39
split-complementary
#398EBC #BC394C #BCA839
monochromatic
#1D475E #2B6B8D #398EBC #63A9D0 #92C3DE

Accessibility & contrast

On white

3.64
#398EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#398EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EBC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EBC#FFFFFF#000000##000000
##398EBC1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBE
Deuteranopia (green-blind)
#6680BB
Tritanopia (blue-blind)
#009A9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398ebc;
/* rgb */ color: rgb(57, 142, 188);
/* oklch */ color: oklch(61.5% 0.107 236.0);
Tailwind
colors: {
  custom: {
    50: '#7fafd0',
    500: '#398ebc',
    950: '#000000',
  },
}
SCSS
$custom: #398ebc;
$custom-light: #7fafd0;
$custom-dark: #000000;
JSON
{
  "hex": "#398ebc",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 188
  },
  "hsl": {
    "h": 201.069,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61534,
    "c": 0.10653,
    "h": 236
  },
  "luminance": 0.23847
}

Semantic roles & 50–950 ramp

primary
#398EBC
secondary
#C99F88
accent
#7E4BDD
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #398EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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