#2A4262#2A4262

#2A4262 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.5% C 0.063 H 256.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2A4262
RGBrgb(42, 66, 98)
HSLhsl(214, 40%, 27%)
HSVhsv(214, 57%, 38%)
CMYKcmyk(57.1%, 32.7%, 0%, 61.6%)
CIE-LABlab(27.49, 1.21, -21.70)
CIE-LCHlch(27.49, 21.73, 273.20°)
OKLaboklab(37.5% -0.0153 -0.061)
OKLCHoklch(37.5% 0.063 256)
XYZxyz(5.1069, 5.2701, 12.3010)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4262 #624A2A
analogous
#2A5E62 #2A4262 #2E2A62
triadic
#2A4262 #622A42 #42622A
tetradic
#2A4262 #622A5E #624A2A #2A622E
square
#2A4262 #622A5E #624A2A #2A622E
split-complementary
#2A4262 #622E2A #5E622A
monochromatic
#090E15 #182537 #2A4262 #3C5F8D #527CB5

Accessibility & contrast

On white

10.22
#2A4262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2A4262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4262
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4262#FFFFFF#000000##FFFFFF
##2A42621.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354463
Deuteranopia (green-blind)
#2E3E61
Tritanopia (blue-blind)
#0A494D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a4262;
/* rgb */ color: rgb(42, 66, 98);
/* oklch */ color: oklch(37.5% 0.063 256.0);
Tailwind
colors: {
  custom: {
    50: '#68768f',
    500: '#2a4262',
    950: '#000000',
  },
}
SCSS
$custom: #2a4262;
$custom-light: #68768f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4262",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 214.286,
    "s": 40,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37504,
    "c": 0.06291,
    "h": 256
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#2A4262
secondary
#947953
accent
#9C58D0
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2A4262

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

Preview Lab → · Contrast checker → · Palette generator →

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