#2A5E8F#2A5E8F

#2A5E8F is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.1% C 0.097 H 249.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2A5E8F
RGBrgb(42, 94, 143)
HSLhsl(209, 55%, 36%)
HSVhsv(209, 71%, 56%)
CMYKcmyk(70.6%, 34.3%, 0%, 43.9%)
CIE-LABlab(38.69, -0.37, -32.10)
CIE-LCHlch(38.69, 32.10, 269.34°)
OKLaboklab(47.06% -0.0341 -0.091)
OKLCHoklch(47.06% 0.097 249.5)
XYZxyz(9.9136, 10.4798, 27.4816)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E8F #8F5B2A
analogous
#2A8F8E #2A5E8F #2A2C8F
triadic
#2A5E8F #8F2A5E #5E8F2A
tetradic
#2A5E8F #8E2A8F #8F5B2A #2C8F2A
square
#2A5E8F #8E2A8F #8F5B2A #2C8F2A
split-complementary
#2A5E8F #8F2A2C #8F8E2A
monochromatic
#0E2030 #1C3F60 #2A5E8F #387DBE #629BD1

Accessibility & contrast

On white

6.78
#2A5E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2A5E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E8F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E8F#FFFFFF#000000##FFFFFF
##2A5E8F1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486091
Deuteranopia (green-blind)
#3A578E
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5e8f;
/* rgb */ color: rgb(42, 94, 143);
/* oklch */ color: oklch(47.1% 0.097 249.5);
Tailwind
colors: {
  custom: {
    50: '#708bb0',
    500: '#2a5e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e8f;
$custom-light: #708bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e8f",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 143
  },
  "hsl": {
    "h": 209.109,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.09719,
    "h": 249.5
  },
  "luminance": 0.10481
}

Semantic roles & 50–950 ramp

primary
#2A5E8F
secondary
#B7895E
accent
#924ADE
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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