#2A5F9C#2A5F9C

#2A5F9C is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.1% C 0.114 H 253.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2A5F9C
RGBrgb(42, 95, 156)
HSLhsl(212, 58%, 39%)
HSVhsv(212, 73%, 61%)
CMYKcmyk(73.1%, 39.1%, 0%, 38.8%)
CIE-LABlab(39.71, 3.88, -38.30)
CIE-LCHlch(39.71, 38.49, 275.78°)
OKLaboklab(48.09% -0.0315 -0.1091)
OKLCHoklch(48.09% 0.114 253.9)
XYZxyz(11.0456, 11.0757, 33.0017)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F9C #9C672A
analogous
#2A989C #2A5F9C #2E2A9C
triadic
#2A5F9C #9C2A5F #5F9C2A
tetradic
#2A5F9C #9C2A98 #9C672A #2A9C2E
square
#2A5F9C #9C2A98 #9C672A #2A9C2E
split-complementary
#2A5F9C #9C2E2A #989C2A
monochromatic
#10243C #1D426C #2A5F9C #397DCA #6A9CD7

Accessibility & contrast

On white

6.53
#2A5F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2A5F9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5F9C
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F9C#FFFFFF#000000##FFFFFF
##2A5F9C1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43639E
Deuteranopia (green-blind)
#31599B
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a5f9c;
/* rgb */ color: rgb(42, 95, 156);
/* oklch */ color: oklch(48.1% 0.114 253.9);
Tailwind
colors: {
  custom: {
    50: '#728cb9',
    500: '#2a5f9c',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f9c;
$custom-light: #728cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f9c",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 156
  },
  "hsl": {
    "h": 212.105,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48089,
    "c": 0.11359,
    "h": 253.9
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#2A5F9C
secondary
#BD9465
accent
#9947E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2A5F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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