#2A368E#2A368E

#2A368E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.145 H 271.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2A368E
RGBrgb(42, 54, 142)
HSLhsl(233, 54%, 36%)
HSVhsv(233, 70%, 56%)
CMYKcmyk(70.4%, 62%, 0%, 44.3%)
CIE-LABlab(26.97, 25.90, -50.30)
CIE-LCHlch(26.97, 56.57, 297.25°)
OKLaboklab(38.06% 0.0042 -0.1451)
OKLCHoklch(38.06% 0.145 271.7)
XYZxyz(7.1548, 5.0829, 26.1900)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A368E #8E822A
analogous
#2A688E #2A368E #502A8E
triadic
#2A368E #8E2A36 #368E2A
tetradic
#2A368E #8E2A68 #8E822A #2A8E50
square
#2A368E #8E2A68 #8E822A #2A8E50
split-complementary
#2A368E #8E502A #688E2A
monochromatic
#0E1230 #1C245F #2A368E #3848BD #626FD1

Accessibility & contrast

On white

10.41
#2A368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2A368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A368E
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A368E#FFFFFF#000000##FFFFFF
##2A368E1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a368e;
/* rgb */ color: rgb(42, 54, 142);
/* oklch */ color: oklch(38.1% 0.145 271.7);
Tailwind
colors: {
  custom: {
    50: '#716db0',
    500: '#2a368e',
    950: '#000000',
  },
}
SCSS
$custom: #2a368e;
$custom-light: #716db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a368e",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 232.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38063,
    "c": 0.14511,
    "h": 271.7
  },
  "luminance": 0.05084
}

Semantic roles & 50–950 ramp

primary
#2A368E
secondary
#B6AC5D
accent
#CC4ADE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2A368E

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

Preview Lab → · Contrast checker → · Palette generator →

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