#2A366F#2A366F

#2A366F is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.099 H 271.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2A366F
RGBrgb(42, 54, 111)
HSLhsl(230, 45%, 30%)
HSVhsv(230, 62%, 44%)
CMYKcmyk(62.2%, 51.4%, 0%, 56.5%)
CIE-LABlab(24.57, 14.24, -34.68)
CIE-LCHlch(24.57, 37.49, 292.32°)
OKLaboklab(35.51% 0.0027 -0.0991)
OKLCHoklch(35.51% 0.099 271.6)
XYZxyz(5.1423, 4.2779, 15.5906)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A366F #6F632A
analogous
#2A596F #2A366F #402A6F
triadic
#2A366F #6F2A36 #366F2A
tetradic
#2A366F #6F2A59 #6F632A #2A6F40
square
#2A366F #6F2A59 #6F632A #2A6F40
split-complementary
#2A366F #6F402A #596F2A
monochromatic
#080B16 #192043 #2A366F #3B4C9B #5567BF

Accessibility & contrast

On white

11.32
#2A366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A366F
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A366F#FFFFFF#000000##FFFFFF
##2A366F1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#0D376E
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a366f;
/* rgb */ color: rgb(42, 54, 111);
/* oklch */ color: oklch(35.5% 0.099 271.6);
Tailwind
colors: {
  custom: {
    50: '#6b6c99',
    500: '#2a366f',
    950: '#000000',
  },
}
SCSS
$custom: #2a366f;
$custom-light: #6b6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a366f",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 229.565,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.35506,
    "c": 0.09918,
    "h": 271.6
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#2A366F
secondary
#A19454
accent
#BE53D5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2A366F

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

Preview Lab → · Contrast checker → · Palette generator →

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