#398DB1#398DB1

#398DB1 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.8% C 0.097 H 229.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#398DB1
RGBrgb(57, 141, 177)
HSLhsl(198, 51%, 46%)
HSVhsv(198, 68%, 69%)
CMYKcmyk(67.8%, 20.3%, 0%, 30.6%)
CIE-LABlab(55.17, -13.66, -26.31)
CIE-LCHlch(55.17, 29.65, 242.57°)
OKLaboklab(60.77% -0.0625 -0.0737)
OKLCHoklch(60.77% 0.097 229.7)
XYZxyz(19.1449, 23.0919, 45.0347)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398DB1 #B15D39
analogous
#39B199 #398DB1 #3951B1
triadic
#398DB1 #B1398D #8DB139
tetradic
#398DB1 #9939B1 #B15D39 #51B139
square
#398DB1 #9939B1 #B15D39 #51B139
split-complementary
#398DB1 #B13951 #B19939
monochromatic
#1B4354 #2A6883 #398DB1 #5DAACB #8BC2DA

Accessibility & contrast

On white

3.74
#398DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#398DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398DB1
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398DB1#FFFFFF#000000##000000
##398DB11.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8BB3
Deuteranopia (green-blind)
#6A7FB1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #398db1;
/* rgb */ color: rgb(57, 141, 177);
/* oklch */ color: oklch(60.8% 0.097 229.7);
Tailwind
colors: {
  custom: {
    50: '#7daec8',
    500: '#398db1',
    950: '#000000',
  },
}
SCSS
$custom: #398db1;
$custom-light: #7daec8;
$custom-dark: #000000;
JSON
{
  "hex": "#398db1",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 177
  },
  "hsl": {
    "h": 198,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.09661,
    "h": 229.7
  },
  "luminance": 0.23094
}

Semantic roles & 50–950 ramp

primary
#398DB1
secondary
#C49682
accent
#784DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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