#2A366E#2A366E

#2A366E is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.098 H 271.5°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2A366E
RGBrgb(42, 54, 110)
HSLhsl(229, 45%, 30%)
HSVhsv(229, 62%, 43%)
CMYKcmyk(61.8%, 50.9%, 0%, 56.9%)
CIE-LABlab(24.50, 13.86, -34.15)
CIE-LCHlch(24.50, 36.86, 292.09°)
OKLaboklab(35.43% 0.0026 -0.0976)
OKLCHoklch(35.43% 0.098 271.5)
XYZxyz(5.0876, 4.2560, 15.3022)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A366E #6E622A
analogous
#2A586E #2A366E #402A6E
triadic
#2A366E #6E2A36 #366E2A
tetradic
#2A366E #6E2A58 #6E622A #2A6E40
square
#2A366E #6E2A58 #6E622A #2A6E40
split-complementary
#2A366E #6E402A #586E2A
monochromatic
#080B16 #192042 #2A366E #3B4C9A #5567BE

Accessibility & contrast

On white

11.34
#2A366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2A366E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A366E
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A366E#FFFFFF#000000##FFFFFF
##2A366E1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D70
Deuteranopia (green-blind)
#0F376D
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a366e;
/* rgb */ color: rgb(42, 54, 110);
/* oklch */ color: oklch(35.4% 0.098 271.5);
Tailwind
colors: {
  custom: {
    50: '#6a6c98',
    500: '#2a366e',
    950: '#000000',
  },
}
SCSS
$custom: #2a366e;
$custom-light: #6a6c98;
$custom-dark: #000000;
JSON
{
  "hex": "#2a366e",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 229.412,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35431,
    "c": 0.09761,
    "h": 271.5
  },
  "luminance": 0.04256
}

Semantic roles & 50–950 ramp

primary
#2A366E
secondary
#A09354
accent
#BE53D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2A366E

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

Preview Lab → · Contrast checker → · Palette generator →

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