#2A5E9C#2A5E9C

#2A5E9C is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.9% C 0.115 H 254.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2A5E9C
RGBrgb(42, 94, 156)
HSLhsl(213, 58%, 39%)
HSVhsv(213, 73%, 61%)
CMYKcmyk(73.1%, 39.7%, 0%, 38.8%)
CIE-LABlab(39.41, 4.52, -38.78)
CIE-LCHlch(39.41, 39.04, 276.65°)
OKLaboklab(47.85% -0.0306 -0.1105)
OKLCHoklch(47.85% 0.115 254.5)
XYZxyz(10.9561, 10.8968, 32.9719)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E9C #9C682A
analogous
#2A979C #2A5E9C #2F2A9C
triadic
#2A5E9C #9C2A5E #5E9C2A
tetradic
#2A5E9C #9C2A97 #9C682A #2A9C2F
square
#2A5E9C #9C2A97 #9C682A #2A9C2F
split-complementary
#2A5E9C #9C2F2A #979C2A
monochromatic
#10243C #1D416C #2A5E9C #397BCA #6A9BD7

Accessibility & contrast

On white

6.60
#2A5E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2A5E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E9C
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E9C#FFFFFF#000000##FFFFFF
##2A5E9C1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41639E
Deuteranopia (green-blind)
#30589B
Tritanopia (blue-blind)
#006D75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a5e9c;
/* rgb */ color: rgb(42, 94, 156);
/* oklch */ color: oklch(47.9% 0.115 254.5);
Tailwind
colors: {
  custom: {
    50: '#728bb9',
    500: '#2a5e9c',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e9c;
$custom-light: #728bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e9c",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 156
  },
  "hsl": {
    "h": 212.632,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47854,
    "c": 0.11469,
    "h": 254.5
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#2A5E9C
secondary
#BD9565
accent
#9B47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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