#2A3463#2A3463

#2A3463 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.083 H 272.3°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2A3463
RGBrgb(42, 52, 99)
HSLhsl(229, 40%, 28%)
HSVhsv(229, 58%, 39%)
CMYKcmyk(57.6%, 47.5%, 0%, 61.2%)
CIE-LABlab(23.17, 11.18, -29.19)
CIE-LCHlch(23.17, 31.25, 290.96°)
OKLaboklab(34.18% 0.0033 -0.083)
OKLCHoklch(34.18% 0.083 272.3)
XYZxyz(4.4342, 3.8488, 12.3112)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3463 #63592A
analogous
#2A5063 #2A3463 #3D2A63
triadic
#2A3463 #632A34 #34632A
tetradic
#2A3463 #632A50 #63592A #2A633D
square
#2A3463 #632A50 #63592A #2A633D
split-complementary
#2A3463 #633D2A #50632A
monochromatic
#090B15 #181D38 #2A3463 #3C4B8E #5263B6

Accessibility & contrast

On white

11.87
#2A3463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A3463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3463
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3463#FFFFFF#000000##FFFFFF
##2A34631.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A65
Deuteranopia (green-blind)
#193562
Tritanopia (blue-blind)
#0D3E46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3463;
/* rgb */ color: rgb(42, 52, 99);
/* oklch */ color: oklch(34.2% 0.083 272.3);
Tailwind
colors: {
  custom: {
    50: '#686b90',
    500: '#2a3463',
    950: '#000000',
  },
}
SCSS
$custom: #2a3463;
$custom-light: #686b90;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3463",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 99
  },
  "hsl": {
    "h": 229.474,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34177,
    "c": 0.08308,
    "h": 272.3
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#2A3463
secondary
#958A53
accent
#BB58D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2A3463

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

Preview Lab → · Contrast checker → · Palette generator →

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