#2A4E6B#2A4E6B

#2A4E6B is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.0% C 0.064 H 244.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2A4E6B
RGBrgb(42, 78, 107)
HSLhsl(207, 44%, 29%)
HSVhsv(207, 61%, 42%)
CMYKcmyk(60.7%, 27.1%, 0%, 58%)
CIE-LABlab(31.81, -3.39, -20.69)
CIE-LCHlch(31.81, 20.96, 260.69°)
OKLaboklab(41.05% -0.0276 -0.058)
OKLCHoklch(41.05% 0.064 244.6)
XYZxyz(6.3321, 7.0020, 14.9249)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E6B #6B472A
analogous
#2A6B68 #2A4E6B #2A2E6B
triadic
#2A4E6B #6B2A4E #4E6B2A
tetradic
#2A4E6B #682A6B #6B472A #2E6B2A
square
#2A4E6B #682A6B #6B472A #2E6B2A
split-complementary
#2A4E6B #6B2A2E #6B682A
monochromatic
#091016 #192E3F #2A4E6B #3B6E97 #548DBC

Accessibility & contrast

On white

8.75
#2A4E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2A4E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E6B
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E6B#FFFFFF#000000##FFFFFF
##2A4E6B1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6C
Deuteranopia (green-blind)
#39486A
Tritanopia (blue-blind)
#005558
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4e6b;
/* rgb */ color: rgb(42, 78, 107);
/* oklch */ color: oklch(41.0% 0.064 244.6);
Tailwind
colors: {
  custom: {
    50: '#6a7f95',
    500: '#2a4e6b',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e6b;
$custom-light: #6a7f95;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e6b",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 107
  },
  "hsl": {
    "h": 206.769,
    "s": 43.624,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41047,
    "c": 0.06425,
    "h": 244.6
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#2A4E6B
secondary
#9D7454
accent
#8D54D3
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A4E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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