#2A468D#2A468D

#2A468D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.123 H 265.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2A468D
RGBrgb(42, 70, 141)
HSLhsl(223, 54%, 36%)
HSVhsv(223, 70%, 55%)
CMYKcmyk(70.2%, 50.4%, 0%, 44.7%)
CIE-LABlab(31.34, 14.64, -42.60)
CIE-LCHlch(31.34, 45.05, 288.97°)
OKLaboklab(41.32% -0.0102 -0.1222)
OKLCHoklch(41.32% 0.123 265.2)
XYZxyz(7.9510, 6.7949, 26.0867)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A468D #8D712A
analogous
#2A778D #2A468D #3F2A8D
triadic
#2A468D #8D2A46 #468D2A
tetradic
#2A468D #8D2A77 #8D712A #2A8D3F
square
#2A468D #8D2A77 #8D712A #2A8D3F
split-complementary
#2A468D #8D3F2A #778D2A
monochromatic
#0E172F #1C2F5E #2A468D #385DBC #6181D0

Accessibility & contrast

On white

8.90
#2A468D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2A468D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A468D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A468D#FFFFFF#000000##FFFFFF
##2A468D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#02458C
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a468d;
/* rgb */ color: rgb(42, 70, 141);
/* oklch */ color: oklch(41.3% 0.123 265.2);
Tailwind
colors: {
  custom: {
    50: '#7079af',
    500: '#2a468d',
    950: '#000000',
  },
}
SCSS
$custom: #2a468d;
$custom-light: #7079af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a468d",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 141
  },
  "hsl": {
    "h": 223.03,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41322,
    "c": 0.12262,
    "h": 265.2
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#2A468D
secondary
#B69D5D
accent
#B44ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A468D

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

Preview Lab → · Contrast checker → · Palette generator →

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