#2A5B95#2A5B95

#2A5B95 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.7% C 0.108 H 254.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2A5B95
RGBrgb(42, 91, 149)
HSLhsl(213, 56%, 37%)
HSVhsv(213, 72%, 58%)
CMYKcmyk(71.8%, 38.9%, 0%, 41.6%)
CIE-LABlab(38.10, 3.79, -36.66)
CIE-LCHlch(38.10, 36.85, 275.90°)
OKLaboklab(46.7% -0.0294 -0.1044)
OKLCHoklch(46.7% 0.108 254.3)
XYZxyz(10.1187, 10.1433, 29.8525)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B95 #95642A
analogous
#2A9195 #2A5B95 #2E2A95
triadic
#2A5B95 #952A5B #5B952A
tetradic
#2A5B95 #952A91 #95642A #2A952E
square
#2A5B95 #952A91 #95642A #2A952E
split-complementary
#2A5B95 #952E2A #91952A
monochromatic
#0F2136 #1D3E65 #2A5B95 #3778C5 #6698D4

Accessibility & contrast

On white

6.93
#2A5B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2A5B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5B95
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B95#FFFFFF#000000##FFFFFF
##2A5B951.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F97
Deuteranopia (green-blind)
#305594
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5b95;
/* rgb */ color: rgb(42, 91, 149);
/* oklch */ color: oklch(46.7% 0.108 254.3);
Tailwind
colors: {
  custom: {
    50: '#7189b4',
    500: '#2a5b95',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b95;
$custom-light: #7189b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b95",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 149
  },
  "hsl": {
    "h": 212.523,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46704,
    "c": 0.10842,
    "h": 254.3
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#2A5B95
secondary
#BA9161
accent
#9A48DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5B95

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

Preview Lab → · Contrast checker → · Palette generator →

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