#398EB2#398EB2

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

Color values

HEX#398EB2
RGBrgb(57, 142, 178)
HSLhsl(198, 51%, 46%)
HSVhsv(198, 68%, 70%)
CMYKcmyk(68%, 20.2%, 0%, 30.2%)
CIE-LABlab(55.51, -13.88, -26.35)
CIE-LCHlch(55.51, 29.78, 242.22°)
OKLaboklab(61.06% -0.0631 -0.0738)
OKLCHoklch(61.06% 0.097 229.5)
XYZxyz(19.3930, 23.4281, 45.6109)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398EB2 #B25D39
analogous
#39B299 #398EB2 #3951B2
triadic
#398EB2 #B2398E #8EB239
tetradic
#398EB2 #9939B2 #B25D39 #51B239
square
#398EB2 #9939B2 #B25D39 #51B239
split-complementary
#398EB2 #B23951 #B29939
monochromatic
#1B4455 #2A6984 #398EB2 #5DAACB #8BC3DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398EB2#FFFFFF#000000##000000
##398EB21.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)
#7B8CB4
Deuteranopia (green-blind)
#6B80B2
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398eb2;
/* rgb */ color: rgb(57, 142, 178);
/* oklch */ color: oklch(61.1% 0.097 229.5);
Tailwind
colors: {
  custom: {
    50: '#7eafc9',
    500: '#398eb2',
    950: '#000000',
  },
}
SCSS
$custom: #398eb2;
$custom-light: #7eafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#398eb2",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 197.851,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6106,
    "c": 0.09713,
    "h": 229.5
  },
  "luminance": 0.2343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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