#398FB1#398FB1

#398FB1 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.3% C 0.096 H 227.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#398FB1
RGBrgb(57, 143, 177)
HSLhsl(197, 51%, 46%)
HSVhsv(197, 68%, 69%)
CMYKcmyk(67.8%, 19.2%, 0%, 30.6%)
CIE-LABlab(55.77, -14.76, -25.38)
CIE-LCHlch(55.77, 29.36, 239.81°)
OKLaboklab(61.26% -0.0646 -0.071)
OKLCHoklch(61.26% 0.096 227.7)
XYZxyz(19.4424, 23.6870, 45.1338)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398FB1 #B15B39
analogous
#39B197 #398FB1 #3953B1
triadic
#398FB1 #B1398F #8FB139
tetradic
#398FB1 #9739B1 #B15B39 #53B139
square
#398FB1 #9739B1 #B15B39 #53B139
split-complementary
#398FB1 #B13953 #B19739
monochromatic
#1B4454 #2A6A83 #398FB1 #5DABCB #8BC3DA

Accessibility & contrast

On white

3.66
#398FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#398FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398FB1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398FB1#FFFFFF#000000##000000
##398FB11.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8CB3
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #398fb1;
/* rgb */ color: rgb(57, 143, 177);
/* oklch */ color: oklch(61.3% 0.096 227.7);
Tailwind
colors: {
  custom: {
    50: '#7dafc8',
    500: '#398fb1',
    950: '#000000',
  },
}
SCSS
$custom: #398fb1;
$custom-light: #7dafc8;
$custom-dark: #000000;
JSON
{
  "hex": "#398fb1",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 177
  },
  "hsl": {
    "h": 197,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.61256,
    "c": 0.09597,
    "h": 227.7
  },
  "luminance": 0.23689
}

Semantic roles & 50–950 ramp

primary
#398FB1
secondary
#C49582
accent
#754DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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