#398CB2#398CB2

#398CB2 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.6% C 0.098 H 231.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#398CB2
RGBrgb(57, 140, 178)
HSLhsl(199, 51%, 46%)
HSVhsv(199, 68%, 70%)
CMYKcmyk(68%, 21.3%, 0%, 30.2%)
CIE-LABlab(54.91, -12.77, -27.29)
CIE-LCHlch(54.91, 30.13, 244.92°)
OKLaboklab(60.58% -0.061 -0.0765)
OKLCHoklch(60.58% 0.098 231.4)
XYZxyz(19.0981, 22.8383, 45.5126)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CB2 #B25F39
analogous
#39B29B #398CB2 #394FB2
triadic
#398CB2 #B2398C #8CB239
tetradic
#398CB2 #9B39B2 #B25F39 #4FB239
square
#398CB2 #9B39B2 #B25F39 #4FB239
split-complementary
#398CB2 #B2394F #B29B39
monochromatic
#1B4355 #2A6884 #398CB2 #5DA9CB #8BC1DA

Accessibility & contrast

On white

3.77
#398CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#398CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CB2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CB2#FFFFFF#000000##000000
##398CB21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB4
Deuteranopia (green-blind)
#687EB1
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398cb2;
/* rgb */ color: rgb(57, 140, 178);
/* oklch */ color: oklch(60.6% 0.098 231.4);
Tailwind
colors: {
  custom: {
    50: '#7dadc9',
    500: '#398cb2',
    950: '#000000',
  },
}
SCSS
$custom: #398cb2;
$custom-light: #7dadc9;
$custom-dark: #000000;
JSON
{
  "hex": "#398cb2",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 198.843,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.60577,
    "c": 0.09787,
    "h": 231.4
  },
  "luminance": 0.2284
}

Semantic roles & 50–950 ramp

primary
#398CB2
secondary
#C49782
accent
#794DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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