#2A366A#2A366A

#2A366A is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.091 H 271.2°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2A366A
RGBrgb(42, 54, 106)
HSLhsl(229, 43%, 29%)
HSVhsv(229, 60%, 42%)
CMYKcmyk(60.4%, 49.1%, 0%, 58.4%)
CIE-LABlab(24.23, 12.37, -32.02)
CIE-LCHlch(24.23, 34.33, 291.13°)
OKLaboklab(35.14% 0.002 -0.0913)
OKLCHoklch(35.14% 0.091 271.2)
XYZxyz(4.8747, 4.1708, 14.1810)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A366A #6A5E2A
analogous
#2A566A #2A366A #3E2A6A
triadic
#2A366A #6A2A36 #366A2A
tetradic
#2A366A #6A2A56 #6A5E2A #2A6A3E
square
#2A366A #6A2A56 #6A5E2A #2A6A3E
split-complementary
#2A366A #6A3E2A #566A2A
monochromatic
#090B16 #19203E #2A366A #3B4C96 #5367BB

Accessibility & contrast

On white

11.45
#2A366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2A366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A366A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A366A#FFFFFF#000000##FFFFFF
##2A366A1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6C
Deuteranopia (green-blind)
#153769
Tritanopia (blue-blind)
#02424A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a366a;
/* rgb */ color: rgb(42, 54, 106);
/* oklch */ color: oklch(35.1% 0.091 271.2);
Tailwind
colors: {
  custom: {
    50: '#6a6c95',
    500: '#2a366a',
    950: '#000000',
  },
}
SCSS
$custom: #2a366a;
$custom-light: #6a6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#2a366a",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 228.75,
    "s": 43.243,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35137,
    "c": 0.09132,
    "h": 271.2
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#2A366A
secondary
#9C8F54
accent
#BB55D3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2A366A

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

Preview Lab → · Contrast checker → · Palette generator →

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