#2A4E5F#2A4E5F

#2A4E5F is a dark, muted cyan. Relative luminance 0.068; OKLCH L 40.4% C 0.050 H 230.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2A4E5F
RGBrgb(42, 78, 95)
HSLhsl(199, 39%, 27%)
HSVhsv(199, 56%, 37%)
CMYKcmyk(55.8%, 17.9%, 0%, 62.7%)
CIE-LABlab(31.27, -7.54, -13.93)
CIE-LCHlch(31.27, 15.84, 241.58°)
OKLaboklab(40.44% -0.0323 -0.0387)
OKLCHoklch(40.44% 0.05 230.2)
XYZxyz(5.7440, 6.7668, 11.8277)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E5F #5F3B2A
analogous
#2A5F56 #2A4E5F #2A345F
triadic
#2A4E5F #5F2A4E #4E5F2A
tetradic
#2A4E5F #562A5F #5F3B2A #345F2A
square
#2A4E5F #562A5F #5F3B2A #345F2A
split-complementary
#2A4E5F #5F2A34 #5F562A
monochromatic
#091115 #172B35 #2A4E5F #3D7189 #5193B2

Accessibility & contrast

On white

8.92
#2A4E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A4E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E5F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E5F#FFFFFF#000000##FFFFFF
##2A4E5F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#3E475F
Tritanopia (blue-blind)
#095353
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4e5f;
/* rgb */ color: rgb(42, 78, 95);
/* oklch */ color: oklch(40.4% 0.050 230.2);
Tailwind
colors: {
  custom: {
    50: '#687f8c',
    500: '#2a4e5f',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e5f;
$custom-light: #687f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e5f",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 95
  },
  "hsl": {
    "h": 199.245,
    "s": 38.686,
    "l": 26.863
  },
  "oklch": {
    "l": 0.40439,
    "c": 0.05038,
    "h": 230.2
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#2A4E5F
secondary
#916753
accent
#7F59CF
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #2A4E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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