#398BB3#398BB3

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

Color values

HEX#398BB3
RGBrgb(57, 139, 179)
HSLhsl(200, 52%, 46%)
HSVhsv(200, 68%, 70%)
CMYKcmyk(68.2%, 22.3%, 0%, 29.8%)
CIE-LABlab(54.65, -11.88, -28.26)
CIE-LCHlch(54.65, 30.66, 247.21°)
OKLaboklab(60.38% -0.0596 -0.0793)
OKLCHoklch(60.38% 0.099 233.1)
XYZxyz(19.0534, 22.5877, 45.9948)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BB3 #B36139
analogous
#39B39E #398BB3 #394EB3
triadic
#398BB3 #B3398B #8BB339
tetradic
#398BB3 #9E39B3 #B36139 #4EB339
square
#398BB3 #9E39B3 #B36139 #4EB339
split-complementary
#398BB3 #B3394E #B39E39
monochromatic
#1B4356 #2A6785 #398BB3 #5EA8CC #8CC1DA

Accessibility & contrast

On white

3.81
#398BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#398BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BB3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BB3#FFFFFF#000000##000000
##398BB31.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB5
Deuteranopia (green-blind)
#677DB2
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398bb3;
/* rgb */ color: rgb(57, 139, 179);
/* oklch */ color: oklch(60.4% 0.099 233.1);
Tailwind
colors: {
  custom: {
    50: '#7eacca',
    500: '#398bb3',
    950: '#000000',
  },
}
SCSS
$custom: #398bb3;
$custom-light: #7eacca;
$custom-dark: #000000;
JSON
{
  "hex": "#398bb3",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 179
  },
  "hsl": {
    "h": 199.672,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.60383,
    "c": 0.09923,
    "h": 233.1
  },
  "luminance": 0.2259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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