#2A439F#2A439F

#2A439F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.152 H 267.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2A439F
RGBrgb(42, 67, 159)
HSLhsl(227, 58%, 39%)
HSVhsv(227, 74%, 62%)
CMYKcmyk(73.6%, 57.9%, 0%, 37.6%)
CIE-LABlab(31.83, 23.57, -52.77)
CIE-LCHlch(31.83, 57.80, 294.07°)
OKLaboklab(42.12% -0.006 -0.1522)
OKLCHoklch(42.12% 0.152 267.7)
XYZxyz(9.2178, 7.0088, 33.6612)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A439F #9F862A
analogous
#2A7E9F #2A439F #4B2A9F
triadic
#2A439F #9F2A43 #439F2A
tetradic
#2A439F #9F2A7E #9F862A #2A9F4B
square
#2A439F #9F2A7E #9F862A #2A9F4B
split-complementary
#2A439F #9F4B2A #7E9F2A
monochromatic
#101A3E #1D2F6F #2A439F #3B5ACB #6B83D8

Accessibility & contrast

On white

8.74
#2A439F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2A439F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A439F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A439F#FFFFFF#000000##FFFFFF
##2A439F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a439f;
/* rgb */ color: rgb(42, 67, 159);
/* oklch */ color: oklch(42.1% 0.152 267.7);
Tailwind
colors: {
  custom: {
    50: '#7476bc',
    500: '#2a439f',
    950: '#000000',
  },
}
SCSS
$custom: #2a439f;
$custom-light: #7476bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a439f",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 159
  },
  "hsl": {
    "h": 227.179,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42116,
    "c": 0.15228,
    "h": 267.7
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#2A439F
secondary
#BFAC66
accent
#C046E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A439F

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

Preview Lab → · Contrast checker → · Palette generator →

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