#2A3D64#2A3D64

#2A3D64 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.4% C 0.072 H 263.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2A3D64
RGBrgb(42, 61, 100)
HSLhsl(220, 41%, 28%)
HSVhsv(220, 58%, 39%)
CMYKcmyk(58%, 39%, 0%, 60.8%)
CIE-LABlab(26.01, 5.31, -25.32)
CIE-LCHlch(26.01, 25.87, 281.84°)
OKLaboklab(36.39% -0.0081 -0.0716)
OKLCHoklch(36.39% 0.072 263.5)
XYZxyz(4.9231, 4.7495, 12.7114)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D64 #64512A
analogous
#2A5A64 #2A3D64 #342A64
triadic
#2A3D64 #642A3D #3D642A
tetradic
#2A3D64 #642A5A #64512A #2A6434
square
#2A3D64 #642A5A #64512A #2A6434
split-complementary
#2A3D64 #64342A #5A642A
monochromatic
#090D16 #182339 #2A3D64 #3C578F #5273B6

Accessibility & contrast

On white

10.77
#2A3D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2A3D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D64
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D64#FFFFFF#000000##FFFFFF
##2A3D641.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4066
Deuteranopia (green-blind)
#263B63
Tritanopia (blue-blind)
#09464B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3d64;
/* rgb */ color: rgb(42, 61, 100);
/* oklch */ color: oklch(36.4% 0.072 263.5);
Tailwind
colors: {
  custom: {
    50: '#687290',
    500: '#2a3d64',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d64;
$custom-light: #687290;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d64",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 100
  },
  "hsl": {
    "h": 220.345,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36385,
    "c": 0.07206,
    "h": 263.5
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#2A3D64
secondary
#968053
accent
#A957D1
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2A3D64

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

Preview Lab → · Contrast checker → · Palette generator →

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