#2A39AF#2A39AF

#2A39AF is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.186 H 270.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2A39AF
RGBrgb(42, 57, 175)
HSLhsl(233, 61%, 43%)
HSVhsv(233, 76%, 69%)
CMYKcmyk(76%, 67.4%, 0%, 31.4%)
CIE-LABlab(30.67, 36.08, -64.28)
CIE-LCHlch(30.67, 73.71, 299.31°)
OKLaboklab(41.69% 0.0004 -0.186)
OKLCHoklch(41.69% 0.186 270.1)
XYZxyz(10.1532, 6.5125, 41.2711)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A39AF #AFA02A
analogous
#2A7CAF #2A39AF #5D2AAF
triadic
#2A39AF #AF2A39 #39AF2A
tetradic
#2A39AF #AF2A7C #AFA02A #2AAF5D
square
#2A39AF #AF2A7C #AFA02A #2AAF5D
split-complementary
#2A39AF #AF5D2A #7CAF2A
monochromatic
#12194C #1E297E #2A39AF #4454D2 #7581DE

Accessibility & contrast

On white

9.12
#2A39AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2A39AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A39AF
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A39AF#FFFFFF#000000##FFFFFF
##2A39AF1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a39af;
/* rgb */ color: rgb(42, 57, 175);
/* oklch */ color: oklch(41.7% 0.186 270.1);
Tailwind
colors: {
  custom: {
    50: '#796fc8',
    500: '#2a39af',
    950: '#000000',
  },
}
SCSS
$custom: #2a39af;
$custom-light: #796fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a39af",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 233.233,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41688,
    "c": 0.18598,
    "h": 270.1
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#2A39AF
secondary
#C6BC6F
accent
#D243E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A39AF

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

Preview Lab → · Contrast checker → · Palette generator →

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