#3A5A7B#3A5A7B

#3A5A7B is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.8% C 0.066 H 250.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#3A5A7B
RGBrgb(58, 90, 123)
HSLhsl(210, 36%, 35%)
HSVhsv(210, 53%, 48%)
CMYKcmyk(52.8%, 26.8%, 0%, 51.8%)
CIE-LABlab(37.19, -1.59, -22.21)
CIE-LCHlch(37.19, 22.27, 265.92°)
OKLaboklab(45.76% -0.0224 -0.0621)
OKLCHoklch(45.76% 0.066 250.2)
XYZxyz(8.9750, 9.6413, 20.1231)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5A7B #7B5B3A
analogous
#3A7A7B #3A5A7B #3A3A7B
triadic
#3A5A7B #7B3A5A #5A7B3A
tetradic
#3A5A7B #7B3A7A #7B5B3A #3A7B3A
square
#3A5A7B #7B3A7A #7B5B3A #3A7B3A
split-complementary
#3A5A7B #7B3A3A #7A7B3A
monochromatic
#131D28 #263C51 #3A5A7B #4E78A5 #7397BD

Accessibility & contrast

On white

7.17
#3A5A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3A5A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5A7B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5A7B#FFFFFF#000000##FFFFFF
##3A5A7B1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7C
Deuteranopia (green-blind)
#44557A
Tritanopia (blue-blind)
#196265
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a5a7b;
/* rgb */ color: rgb(58, 90, 123);
/* oklch */ color: oklch(45.8% 0.066 250.2);
Tailwind
colors: {
  custom: {
    50: '#7588a1',
    500: '#3a5a7b',
    950: '#000000',
  },
}
SCSS
$custom: #3a5a7b;
$custom-light: #7588a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5a7b",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 123
  },
  "hsl": {
    "h": 210.462,
    "s": 35.912,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45757,
    "c": 0.06607,
    "h": 250.2
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#3A5A7B
secondary
#A6896B
accent
#955CCC
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#080B0F
muted
#7B7C7E

Preview Lab

Preview with #3A5A7B

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

Preview Lab → · Contrast checker → · Palette generator →

#3A5A7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva