#398BB4#398BB4

#398BB4 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.4% C 0.100 H 233.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#398BB4
RGBrgb(57, 139, 180)
HSLhsl(200, 52%, 46%)
HSVhsv(200, 68%, 71%)
CMYKcmyk(68.3%, 22.8%, 0%, 29.4%)
CIE-LABlab(54.69, -11.54, -28.77)
CIE-LCHlch(54.69, 31.00, 248.14°)
OKLaboklab(60.43% -0.0593 -0.0808)
OKLCHoklch(60.43% 0.1 233.7)
XYZxyz(19.1549, 22.6283, 46.5294)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BB4 #B46239
analogous
#39B4A0 #398BB4 #394EB4
triadic
#398BB4 #B4398B #8BB439
tetradic
#398BB4 #A039B4 #B46239 #4EB439
square
#398BB4 #A039B4 #B46239 #4EB439
split-complementary
#398BB4 #B4394E #B4A039
monochromatic
#1C4357 #2A6786 #398BB4 #5EA7CC #8DC1DB

Accessibility & contrast

On white

3.80
#398BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#398BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BB4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BB4#FFFFFF#000000##000000
##398BB41.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB6
Deuteranopia (green-blind)
#667DB3
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398bb4;
/* rgb */ color: rgb(57, 139, 180);
/* oklch */ color: oklch(60.4% 0.100 233.7);
Tailwind
colors: {
  custom: {
    50: '#7eacca',
    500: '#398bb4',
    950: '#000000',
  },
}
SCSS
$custom: #398bb4;
$custom-light: #7eacca;
$custom-dark: #000000;
JSON
{
  "hex": "#398bb4",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 180
  },
  "hsl": {
    "h": 200,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.60431,
    "c": 0.10019,
    "h": 233.7
  },
  "luminance": 0.2263
}

Semantic roles & 50–950 ramp

primary
#398BB4
secondary
#C59983
accent
#7C4CDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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