#2A368D#2A368D

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

Color values

HEX#2A368D
RGBrgb(42, 54, 141)
HSLhsl(233, 54%, 36%)
HSVhsv(233, 70%, 55%)
CMYKcmyk(70.2%, 61.7%, 0%, 44.7%)
CIE-LABlab(26.89, 25.53, -49.81)
CIE-LCHlch(26.89, 55.98, 297.13°)
OKLaboklab(37.97% 0.0042 -0.1436)
OKLCHoklch(37.97% 0.144 271.7)
XYZxyz(7.0801, 5.0530, 25.7963)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A368D #8D812A
analogous
#2A678D #2A368D #4F2A8D
triadic
#2A368D #8D2A36 #368D2A
tetradic
#2A368D #8D2A67 #8D812A #2A8D4F
square
#2A368D #8D2A67 #8D812A #2A8D4F
split-complementary
#2A368D #8D4F2A #678D2A
monochromatic
#0E122F #1C245E #2A368D #3848BC #616FD0

Accessibility & contrast

On white

10.44
#2A368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2A368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A368D
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A368D#FFFFFF#000000##FFFFFF
##2A368D1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a368d;
/* rgb */ color: rgb(42, 54, 141);
/* oklch */ color: oklch(38.0% 0.144 271.7);
Tailwind
colors: {
  custom: {
    50: '#716daf',
    500: '#2a368d',
    950: '#000000',
  },
}
SCSS
$custom: #2a368d;
$custom-light: #716daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a368d",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 232.727,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37974,
    "c": 0.1437,
    "h": 271.7
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#2A368D
secondary
#B6AB5D
accent
#CC4ADD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2A368D

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

Preview Lab → · Contrast checker → · Palette generator →

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