#2A366C#2A366C

#2A366C is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.094 H 271.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2A366C
RGBrgb(42, 54, 108)
HSLhsl(229, 44%, 29%)
HSVhsv(229, 61%, 42%)
CMYKcmyk(61.1%, 50%, 0%, 57.6%)
CIE-LABlab(24.36, 13.12, -33.09)
CIE-LCHlch(24.36, 35.60, 291.62°)
OKLaboklab(35.28% 0.0023 -0.0945)
OKLCHoklch(35.28% 0.094 271.4)
XYZxyz(4.9799, 4.2129, 14.7352)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A366C #6C602A
analogous
#2A576C #2A366C #3F2A6C
triadic
#2A366C #6C2A36 #366C2A
tetradic
#2A366C #6C2A57 #6C602A #2A6C3F
square
#2A366C #6C2A57 #6C602A #2A6C3F
split-complementary
#2A366C #6C3F2A #576C2A
monochromatic
#090B16 #192040 #2A366C #3B4C98 #5467BC

Accessibility & contrast

On white

11.40
#2A366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A366C
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A366C#FFFFFF#000000##FFFFFF
##2A366C1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6E
Deuteranopia (green-blind)
#12376B
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a366c;
/* rgb */ color: rgb(42, 54, 108);
/* oklch */ color: oklch(35.3% 0.094 271.4);
Tailwind
colors: {
  custom: {
    50: '#6a6c96',
    500: '#2a366c',
    950: '#000000',
  },
}
SCSS
$custom: #2a366c;
$custom-light: #6a6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2a366c",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 229.091,
    "s": 44,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35283,
    "c": 0.09448,
    "h": 271.4
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#2A366C
secondary
#9E9154
accent
#BD54D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2A366C

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

Preview Lab → · Contrast checker → · Palette generator →

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