#2A4264#2A4264

#2A4264 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.6% C 0.066 H 257.2°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2A4264
RGBrgb(42, 66, 100)
HSLhsl(215, 41%, 28%)
HSVhsv(215, 58%, 39%)
CMYKcmyk(58%, 34%, 0%, 60.8%)
CIE-LABlab(27.60, 1.93, -22.82)
CIE-LCHlch(27.60, 22.90, 274.83°)
OKLaboklab(37.62% -0.0146 -0.0643)
OKLCHoklch(37.62% 0.066 257.2)
XYZxyz(5.2025, 5.3084, 12.8046)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4264 #644C2A
analogous
#2A5F64 #2A4264 #2F2A64
triadic
#2A4264 #642A42 #42642A
tetradic
#2A4264 #642A5F #644C2A #2A642F
square
#2A4264 #642A5F #644C2A #2A642F
split-complementary
#2A4264 #642F2A #5F642A
monochromatic
#090E16 #182639 #2A4264 #3C5E8F #527CB6

Accessibility & contrast

On white

10.19
#2A4264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A4264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4264
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4264#FFFFFF#000000##FFFFFF
##2A42641.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344465
Deuteranopia (green-blind)
#2D3F63
Tritanopia (blue-blind)
#074A4E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a4264;
/* rgb */ color: rgb(42, 66, 100);
/* oklch */ color: oklch(37.6% 0.066 257.2);
Tailwind
colors: {
  custom: {
    50: '#687690',
    500: '#2a4264',
    950: '#000000',
  },
}
SCSS
$custom: #2a4264;
$custom-light: #687690;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4264",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 100
  },
  "hsl": {
    "h": 215.172,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3762,
    "c": 0.06593,
    "h": 257.2
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#2A4264
secondary
#967B53
accent
#9E57D1
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2A4264

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

Preview Lab → · Contrast checker → · Palette generator →

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