#2A46AF#2A46AF

#2A46AF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.170 H 267.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2A46AF
RGBrgb(42, 70, 175)
HSLhsl(227, 61%, 43%)
HSVhsv(227, 76%, 69%)
CMYKcmyk(76%, 60%, 0%, 31.4%)
CIE-LABlab(33.91, 27.63, -58.97)
CIE-LCHlch(33.91, 65.12, 295.11°)
OKLaboklab(44.08% -0.0078 -0.1703)
OKLCHoklch(44.08% 0.17 267.4)
XYZxyz(10.8802, 7.9665, 41.5134)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46AF #AF932A
analogous
#2A89AF #2A46AF #502AAF
triadic
#2A46AF #AF2A46 #46AF2A
tetradic
#2A46AF #AF2A89 #AF932A #2AAF50
square
#2A46AF #AF2A89 #AF932A #2AAF50
split-complementary
#2A46AF #AF502A #89AF2A
monochromatic
#121F4C #1E327E #2A46AF #4462D2 #758BDE

Accessibility & contrast

On white

8.10
#2A46AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A46AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46AF
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46AF#FFFFFF#000000##FFFFFF
##2A46AF1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a46af;
/* rgb */ color: rgb(42, 70, 175);
/* oklch */ color: oklch(44.1% 0.170 267.4);
Tailwind
colors: {
  custom: {
    50: '#7879c8',
    500: '#2a46af',
    950: '#000000',
  },
}
SCSS
$custom: #2a46af;
$custom-light: #7879c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46af",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 227.368,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44078,
    "c": 0.17049,
    "h": 267.4
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#2A46AF
secondary
#C6B36F
accent
#C343E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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