#2A5E9F#2A5E9F

#2A5E9F is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.119 H 255.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2A5E9F
RGBrgb(42, 94, 159)
HSLhsl(213, 58%, 39%)
HSVhsv(213, 74%, 62%)
CMYKcmyk(73.6%, 40.9%, 0%, 37.6%)
CIE-LABlab(39.58, 5.66, -40.29)
CIE-LCHlch(39.58, 40.69, 277.99°)
OKLaboklab(48.05% -0.0299 -0.115)
OKLCHoklch(48.05% 0.119 255.4)
XYZxyz(11.2133, 10.9996, 34.3263)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E9F #9F6B2A
analogous
#2A999F #2A5E9F #302A9F
triadic
#2A5E9F #9F2A5E #5E9F2A
tetradic
#2A5E9F #9F2A99 #9F6B2A #2A9F30
square
#2A5E9F #9F2A99 #9F6B2A #2A9F30
split-complementary
#2A5E9F #9F302A #999F2A
monochromatic
#10253E #1D416F #2A5E9F #3B7BCB #6B9CD8

Accessibility & contrast

On white

6.56
#2A5E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2A5E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E9F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E9F#FFFFFF#000000##FFFFFF
##2A5E9F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F63A2
Deuteranopia (green-blind)
#2D589E
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a5e9f;
/* rgb */ color: rgb(42, 94, 159);
/* oklch */ color: oklch(48.0% 0.119 255.4);
Tailwind
colors: {
  custom: {
    50: '#738bbc',
    500: '#2a5e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e9f;
$custom-light: #738bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e9f",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 159
  },
  "hsl": {
    "h": 213.333,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48045,
    "c": 0.1188,
    "h": 255.4
  },
  "luminance": 0.11001
}

Semantic roles & 50–950 ramp

primary
#2A5E9F
secondary
#BF9766
accent
#9D46E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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