#2A5F90#2A5F90

#2A5F90 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.4% C 0.098 H 249.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2A5F90
RGBrgb(42, 95, 144)
HSLhsl(209, 55%, 36%)
HSVhsv(209, 71%, 56%)
CMYKcmyk(70.8%, 34%, 0%, 43.5%)
CIE-LABlab(39.05, -0.63, -32.13)
CIE-LCHlch(39.05, 32.14, 268.88°)
OKLaboklab(47.36% -0.0348 -0.0911)
OKLCHoklch(47.36% 0.098 249.1)
XYZxyz(10.0792, 10.6892, 27.9122)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F90 #905B2A
analogous
#2A908E #2A5F90 #2A2C90
triadic
#2A5F90 #902A5F #5F902A
tetradic
#2A5F90 #8E2A90 #905B2A #2C902A
square
#2A5F90 #8E2A90 #905B2A #2C902A
split-complementary
#2A5F90 #902A2C #908E2A
monochromatic
#0E2031 #1C4061 #2A5F90 #387EBF #639CD1

Accessibility & contrast

On white

6.69
#2A5F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2A5F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5F90
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F90#FFFFFF#000000##FFFFFF
##2A5F901.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496192
Deuteranopia (green-blind)
#3B588F
Tritanopia (blue-blind)
#006B71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a5f90;
/* rgb */ color: rgb(42, 95, 144);
/* oklch */ color: oklch(47.4% 0.098 249.1);
Tailwind
colors: {
  custom: {
    50: '#708cb1',
    500: '#2a5f90',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f90;
$custom-light: #708cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f90",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 144
  },
  "hsl": {
    "h": 208.824,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47361,
    "c": 0.09753,
    "h": 249.1
  },
  "luminance": 0.1069
}

Semantic roles & 50–950 ramp

primary
#2A5F90
secondary
#B7895E
accent
#914ADE
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2A5F90

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

Preview Lab → · Contrast checker → · Palette generator →

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