#39498B#39498B

#39498B is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.7% C 0.111 H 270.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#39498B
RGBrgb(57, 73, 139)
HSLhsl(228, 42%, 38%)
HSVhsv(228, 59%, 55%)
CMYKcmyk(59%, 47.5%, 0%, 45.5%)
CIE-LABlab(32.92, 14.74, -38.79)
CIE-LCHlch(32.92, 41.50, 290.80°)
OKLaboklab(42.71% 0.0016 -0.1106)
OKLCHoklch(42.71% 0.111 270.8)
XYZxyz(8.7285, 7.4984, 25.4085)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39498B #8B7B39
analogous
#39728B #39498B #52398B
triadic
#39498B #8B3949 #498B39
tetradic
#39498B #8B3972 #8B7B39 #398B52
square
#39498B #8B3972 #8B7B39 #398B52
split-complementary
#39498B #8B5239 #728B39
monochromatic
#151B34 #273260 #39498B #4C60B5 #7787C7

Accessibility & contrast

On white

8.40
#39498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#39498B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39498B
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39498B#FFFFFF#000000##FFFFFF
##39498B1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518D
Deuteranopia (green-blind)
#1F4A8A
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #39498b;
/* rgb */ color: rgb(57, 73, 139);
/* oklch */ color: oklch(42.7% 0.111 270.8);
Tailwind
colors: {
  custom: {
    50: '#777bad',
    500: '#39498b',
    950: '#000000',
  },
}
SCSS
$custom: #39498b;
$custom-light: #777bad;
$custom-dark: #000000;
JSON
{
  "hex": "#39498b",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 228.293,
    "s": 41.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42711,
    "c": 0.11063,
    "h": 270.8
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#39498B
secondary
#B0A46F
accent
#BA56D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #39498B

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

Preview Lab → · Contrast checker → · Palette generator →

#39498B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva