#398DB7#398DB7

#398DB7 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.1% C 0.102 H 233.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#398DB7
RGBrgb(57, 141, 183)
HSLhsl(200, 53%, 47%)
HSVhsv(200, 69%, 72%)
CMYKcmyk(68.9%, 23%, 0%, 28.2%)
CIE-LABlab(55.42, -11.65, -29.35)
CIE-LCHlch(55.42, 31.58, 248.35°)
OKLaboklab(61.05% -0.0603 -0.0824)
OKLCHoklch(61.05% 0.102 233.8)
XYZxyz(19.7561, 23.3363, 48.2537)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398DB7 #B76339
analogous
#39B7A2 #398DB7 #394EB7
triadic
#398DB7 #B7398D #8DB739
tetradic
#398DB7 #A239B7 #B76339 #4EB739
square
#398DB7 #A239B7 #B76339 #4EB739
split-complementary
#398DB7 #B7394E #B7A239
monochromatic
#1C455A #2A6988 #398DB7 #60A9CD #8EC2DC

Accessibility & contrast

On white

3.71
#398DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#398DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398DB7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398DB7#FFFFFF#000000##000000
##398DB71.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#798CB9
Deuteranopia (green-blind)
#677FB6
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398db7;
/* rgb */ color: rgb(57, 141, 183);
/* oklch */ color: oklch(61.1% 0.102 233.8);
Tailwind
colors: {
  custom: {
    50: '#7eaecc',
    500: '#398db7',
    950: '#000000',
  },
}
SCSS
$custom: #398db7;
$custom-light: #7eaecc;
$custom-dark: #000000;
JSON
{
  "hex": "#398db7",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 183
  },
  "hsl": {
    "h": 200,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.61054,
    "c": 0.10211,
    "h": 233.8
  },
  "luminance": 0.23339
}

Semantic roles & 50–950 ramp

primary
#398DB7
secondary
#C79B85
accent
#7C4CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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