#2A5B97#2A5B97

#2A5B97 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.111 H 255.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2A5B97
RGBrgb(42, 91, 151)
HSLhsl(213, 56%, 38%)
HSVhsv(213, 72%, 59%)
CMYKcmyk(72.2%, 39.7%, 0%, 40.8%)
CIE-LABlab(38.21, 4.55, -37.68)
CIE-LCHlch(38.21, 37.95, 276.88°)
OKLaboklab(46.83% -0.0288 -0.1074)
OKLCHoklch(46.83% 0.111 255)
XYZxyz(10.2798, 10.2077, 30.7007)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B97 #97662A
analogous
#2A9197 #2A5B97 #302A97
triadic
#2A5B97 #972A5B #5B972A
tetradic
#2A5B97 #972A91 #97662A #2A9730
square
#2A5B97 #972A91 #97662A #2A9730
split-complementary
#2A5B97 #97302A #91972A
monochromatic
#0F2137 #1D3E67 #2A5B97 #3778C7 #6798D5

Accessibility & contrast

On white

6.90
#2A5B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2A5B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5B97
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B97#FFFFFF#000000##FFFFFF
##2A5B971.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F99
Deuteranopia (green-blind)
#2F5596
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5b97;
/* rgb */ color: rgb(42, 91, 151);
/* oklch */ color: oklch(46.8% 0.111 255.0);
Tailwind
colors: {
  custom: {
    50: '#7189b6',
    500: '#2a5b97',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b97;
$custom-light: #7189b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b97",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 213.028,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4683,
    "c": 0.11118,
    "h": 255
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#2A5B97
secondary
#BB9362
accent
#9C48E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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