#2A468C#2A468C

#2A468C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.121 H 265.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2A468C
RGBrgb(42, 70, 140)
HSLhsl(223, 54%, 36%)
HSVhsv(223, 70%, 55%)
CMYKcmyk(70%, 50%, 0%, 45.1%)
CIE-LABlab(31.27, 14.26, -42.10)
CIE-LCHlch(31.27, 44.45, 288.71°)
OKLaboklab(41.25% -0.0103 -0.1207)
OKLCHoklch(41.25% 0.121 265.1)
XYZxyz(7.8770, 6.7652, 25.6966)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A468C #8C702A
analogous
#2A778C #2A468C #3F2A8C
triadic
#2A468C #8C2A46 #468C2A
tetradic
#2A468C #8C2A77 #8C702A #2A8C3F
square
#2A468C #8C2A77 #8C702A #2A8C3F
split-complementary
#2A468C #8C3F2A #778C2A
monochromatic
#0E172E #1C2E5D #2A468C #385EBB #6180D0

Accessibility & contrast

On white

8.92
#2A468C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A468C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A468C
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A468C#FFFFFF#000000##FFFFFF
##2A468C1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#05458B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a468c;
/* rgb */ color: rgb(42, 70, 140);
/* oklch */ color: oklch(41.2% 0.121 265.1);
Tailwind
colors: {
  custom: {
    50: '#7079ae',
    500: '#2a468c',
    950: '#000000',
  },
}
SCSS
$custom: #2a468c;
$custom-light: #7079ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a468c",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 140
  },
  "hsl": {
    "h": 222.857,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41247,
    "c": 0.12116,
    "h": 265.1
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#2A468C
secondary
#B59C5C
accent
#B34BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A468C

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

Preview Lab → · Contrast checker → · Palette generator →

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