#2A4E6F#2A4E6F

#2A4E6F is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.3% C 0.070 H 247.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2A4E6F
RGBrgb(42, 78, 111)
HSLhsl(209, 45%, 30%)
HSVhsv(209, 62%, 44%)
CMYKcmyk(62.2%, 29.7%, 0%, 56.5%)
CIE-LABlab(32.01, -1.96, -22.90)
CIE-LCHlch(32.01, 22.98, 265.11°)
OKLaboklab(41.27% -0.0262 -0.0644)
OKLCHoklch(41.27% 0.07 247.9)
XYZxyz(6.5474, 7.0881, 16.0589)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E6F #6F4B2A
analogous
#2A6F6E #2A4E6F #2A2B6F
triadic
#2A4E6F #6F2A4E #4E6F2A
tetradic
#2A4E6F #6E2A6F #6F4B2A #2B6F2A
square
#2A4E6F #6E2A6F #6F4B2A #2B6F2A
split-complementary
#2A4E6F #6F2A2B #6F6E2A
monochromatic
#081016 #192F43 #2A4E6F #3B6D9B #558CBF

Accessibility & contrast

On white

8.69
#2A4E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A4E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E6F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E6F#FFFFFF#000000##FFFFFF
##2A4E6F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F70
Deuteranopia (green-blind)
#37486E
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4e6f;
/* rgb */ color: rgb(42, 78, 111);
/* oklch */ color: oklch(41.3% 0.070 247.9);
Tailwind
colors: {
  custom: {
    50: '#6a7f98',
    500: '#2a4e6f',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e6f;
$custom-light: #6a7f98;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e6f",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 111
  },
  "hsl": {
    "h": 208.696,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.41265,
    "c": 0.06953,
    "h": 247.9
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#2A4E6F
secondary
#A17954
accent
#9153D5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A4E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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