#2A386A#2A386A

#2A386A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.088 H 269.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#2A386A
RGBrgb(42, 56, 106)
HSLhsl(227, 43%, 29%)
HSVhsv(227, 60%, 42%)
CMYKcmyk(60.4%, 47.2%, 0%, 58.4%)
CIE-LABlab(24.83, 10.98, -31.06)
CIE-LCHlch(24.83, 32.94, 289.46°)
OKLaboklab(35.6% -0.0004 -0.0884)
OKLCHoklch(35.6% 0.088 269.7)
XYZxyz(4.9697, 4.3608, 14.2127)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A386A #6A5C2A
analogous
#2A586A #2A386A #3C2A6A
triadic
#2A386A #6A2A38 #386A2A
tetradic
#2A386A #6A2A58 #6A5C2A #2A6A3C
square
#2A386A #6A2A58 #6A5C2A #2A6A3C
split-complementary
#2A386A #6A3C2A #586A2A
monochromatic
#090C16 #19213E #2A386A #3B4F96 #536ABB

Accessibility & contrast

On white

11.22
#2A386A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2A386A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A386A
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A386A#FFFFFF#000000##FFFFFF
##2A386A1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#193869
Tritanopia (blue-blind)
#01434B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a386a;
/* rgb */ color: rgb(42, 56, 106);
/* oklch */ color: oklch(35.6% 0.088 269.7);
Tailwind
colors: {
  custom: {
    50: '#696e95',
    500: '#2a386a',
    950: '#000000',
  },
}
SCSS
$custom: #2a386a;
$custom-light: #696e95;
$custom-dark: #000000;
JSON
{
  "hex": "#2a386a",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 106
  },
  "hsl": {
    "h": 226.875,
    "s": 43.243,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35596,
    "c": 0.08845,
    "h": 269.7
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#2A386A
secondary
#9C8C54
accent
#B755D3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2A386A

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

Preview Lab → · Contrast checker → · Palette generator →

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