#398FB2#398FB2

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

Color values

HEX#398FB2
RGBrgb(57, 143, 178)
HSLhsl(197, 51%, 46%)
HSVhsv(197, 68%, 70%)
CMYKcmyk(68%, 19.7%, 0%, 30.2%)
CIE-LABlab(55.81, -14.43, -25.88)
CIE-LCHlch(55.81, 29.64, 240.86°)
OKLaboklab(61.3% -0.0642 -0.0725)
OKLCHoklch(61.3% 0.097 228.5)
XYZxyz(19.5425, 23.7270, 45.6607)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398FB2 #B25C39
analogous
#39B298 #398FB2 #3953B2
triadic
#398FB2 #B2398F #8FB239
tetradic
#398FB2 #9839B2 #B25C39 #53B239
square
#398FB2 #9839B2 #B25C39 #53B239
split-complementary
#398FB2 #B23953 #B29839
monochromatic
#1B4555 #2A6A84 #398FB2 #5DABCB #8BC3DA

Accessibility & contrast

On white

3.65
#398FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#398FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398FB2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398FB2#FFFFFF#000000##000000
##398FB21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398fb2;
/* rgb */ color: rgb(57, 143, 178);
/* oklch */ color: oklch(61.3% 0.097 228.5);
Tailwind
colors: {
  custom: {
    50: '#7eafc9',
    500: '#398fb2',
    950: '#000000',
  },
}
SCSS
$custom: #398fb2;
$custom-light: #7eafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#398fb2",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 178
  },
  "hsl": {
    "h": 197.355,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61301,
    "c": 0.0968,
    "h": 228.5
  },
  "luminance": 0.23729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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