#2A5B83#2A5B83

#2A5B83 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.6% C 0.084 H 245.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2A5B83
RGBrgb(42, 91, 131)
HSLhsl(207, 51%, 34%)
HSVhsv(207, 68%, 51%)
CMYKcmyk(67.9%, 30.5%, 0%, 48.6%)
CIE-LABlab(37.14, -2.92, -27.25)
CIE-LCHlch(37.14, 27.41, 263.88°)
OKLaboklab(45.64% -0.0346 -0.0769)
OKLCHoklch(45.64% 0.084 245.8)
XYZxyz(8.7911, 9.6122, 22.8604)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B83 #83522A
analogous
#2A837F #2A5B83 #2A2F83
triadic
#2A5B83 #832A5B #5B832A
tetradic
#2A5B83 #7F2A83 #83522A #2F832A
square
#2A5B83 #7F2A83 #83522A #2F832A
split-complementary
#2A5B83 #832A2F #837F2A
monochromatic
#0C1B26 #1B3B55 #2A5B83 #397BB1 #5D99CB

Accessibility & contrast

On white

7.19
#2A5B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2A5B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5B83
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B83#FFFFFF#000000##FFFFFF
##2A5B831.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495C85
Deuteranopia (green-blind)
#3D5482
Tritanopia (blue-blind)
#006569
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a5b83;
/* rgb */ color: rgb(42, 91, 131);
/* oklch */ color: oklch(45.6% 0.084 245.8);
Tailwind
colors: {
  custom: {
    50: '#6e89a7',
    500: '#2a5b83',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b83;
$custom-light: #6e89a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b83",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 131
  },
  "hsl": {
    "h": 206.966,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.08435,
    "h": 245.8
  },
  "luminance": 0.09613
}

Semantic roles & 50–950 ramp

primary
#2A5B83
secondary
#B18058
accent
#8D4DDB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2A5B83

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

Preview Lab → · Contrast checker → · Palette generator →

#2A5B83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva