#398BB2#398BB2

#398BB2 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.3% C 0.098 H 232.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#398BB2
RGBrgb(57, 139, 178)
HSLhsl(199, 51%, 46%)
HSVhsv(199, 68%, 70%)
CMYKcmyk(68%, 21.9%, 0%, 30.2%)
CIE-LABlab(54.60, -12.21, -27.76)
CIE-LCHlch(54.60, 30.32, 246.25°)
OKLaboklab(60.34% -0.06 -0.0778)
OKLCHoklch(60.34% 0.098 232.4)
XYZxyz(18.9527, 22.5474, 45.4641)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BB2 #B26039
analogous
#39B29C #398BB2 #394EB2
triadic
#398BB2 #B2398B #8BB239
tetradic
#398BB2 #9C39B2 #B26039 #4EB239
square
#398BB2 #9C39B2 #B26039 #4EB239
split-complementary
#398BB2 #B2394E #B29C39
monochromatic
#1B4355 #2A6784 #398BB2 #5DA8CB #8BC1DA

Accessibility & contrast

On white

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

On black

5.51
#398BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BB2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BB2#FFFFFF#000000##000000
##398BB21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7889B4
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398bb2;
/* rgb */ color: rgb(57, 139, 178);
/* oklch */ color: oklch(60.3% 0.098 232.4);
Tailwind
colors: {
  custom: {
    50: '#7dacc9',
    500: '#398bb2',
    950: '#000000',
  },
}
SCSS
$custom: #398bb2;
$custom-light: #7dacc9;
$custom-dark: #000000;
JSON
{
  "hex": "#398bb2",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 199.339,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.60336,
    "c": 0.09829,
    "h": 232.4
  },
  "luminance": 0.22549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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