#2A366B#2A366B

#2A366B is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.093 H 271.3°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#2A366B
RGBrgb(42, 54, 107)
HSLhsl(229, 44%, 29%)
HSVhsv(229, 61%, 42%)
CMYKcmyk(60.7%, 49.5%, 0%, 58%)
CIE-LABlab(24.30, 12.74, -32.56)
CIE-LCHlch(24.30, 34.96, 291.38°)
OKLaboklab(35.21% 0.0021 -0.0929)
OKLCHoklch(35.21% 0.093 271.3)
XYZxyz(4.9270, 4.1917, 14.4565)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A366B #6B5F2A
analogous
#2A576B #2A366B #3F2A6B
triadic
#2A366B #6B2A36 #366B2A
tetradic
#2A366B #6B2A57 #6B5F2A #2A6B3F
square
#2A366B #6B2A57 #6B5F2A #2A6B3F
split-complementary
#2A366B #6B3F2A #576B2A
monochromatic
#090B16 #19203F #2A366B #3B4C97 #5467BC

Accessibility & contrast

On white

11.42
#2A366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2A366B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A366B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A366B#FFFFFF#000000##FFFFFF
##2A366B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3D6D
Deuteranopia (green-blind)
#13376A
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a366b;
/* rgb */ color: rgb(42, 54, 107);
/* oklch */ color: oklch(35.2% 0.093 271.3);
Tailwind
colors: {
  custom: {
    50: '#6a6c96',
    500: '#2a366b',
    950: '#000000',
  },
}
SCSS
$custom: #2a366b;
$custom-light: #6a6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2a366b",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 228.923,
    "s": 43.624,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3521,
    "c": 0.0929,
    "h": 271.3
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#2A366B
secondary
#9D9054
accent
#BC54D3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2A366B

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

Preview Lab → · Contrast checker → · Palette generator →

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