#398EB3#398EB3

#398EB3 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.1% C 0.098 H 230.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#398EB3
RGBrgb(57, 142, 179)
HSLhsl(198, 52%, 46%)
HSVhsv(198, 68%, 70%)
CMYKcmyk(68.2%, 20.7%, 0%, 29.8%)
CIE-LABlab(55.55, -13.55, -26.86)
CIE-LCHlch(55.55, 30.08, 243.24°)
OKLaboklab(61.11% -0.0628 -0.0753)
OKLCHoklch(61.11% 0.098 230.2)
XYZxyz(19.4938, 23.4684, 46.1416)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EB3 #B35E39
analogous
#39B39B #398EB3 #3951B3
triadic
#398EB3 #B3398E #8EB339
tetradic
#398EB3 #9B39B3 #B35E39 #51B339
square
#398EB3 #9B39B3 #B35E39 #51B339
split-complementary
#398EB3 #B33951 #B39B39
monochromatic
#1B4456 #2A6985 #398EB3 #5EAACC #8CC3DA

Accessibility & contrast

On white

3.69
#398EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#398EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398EB3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398EB3#FFFFFF#000000##000000
##398EB31.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB5
Deuteranopia (green-blind)
#6A80B2
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398eb3;
/* rgb */ color: rgb(57, 142, 179);
/* oklch */ color: oklch(61.1% 0.098 230.2);
Tailwind
colors: {
  custom: {
    50: '#7eafca',
    500: '#398eb3',
    950: '#000000',
  },
}
SCSS
$custom: #398eb3;
$custom-light: #7eafca;
$custom-dark: #000000;
JSON
{
  "hex": "#398eb3",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 179
  },
  "hsl": {
    "h": 198.197,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.61106,
    "c": 0.098,
    "h": 230.2
  },
  "luminance": 0.23471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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