#2A468B#2A468B

#2A468B is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.2% C 0.120 H 265.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2A468B
RGBrgb(42, 70, 139)
HSLhsl(223, 54%, 35%)
HSVhsv(223, 70%, 55%)
CMYKcmyk(69.8%, 49.6%, 0%, 45.5%)
CIE-LABlab(31.20, 13.88, -41.60)
CIE-LCHlch(31.20, 43.85, 288.45°)
OKLaboklab(41.17% -0.0105 -0.1192)
OKLCHoklch(41.17% 0.12 265)
XYZxyz(7.8036, 6.7359, 25.3100)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A468B #8B6F2A
analogous
#2A768B #2A468B #3E2A8B
triadic
#2A468B #8B2A46 #468B2A
tetradic
#2A468B #8B2A76 #8B6F2A #2A8B3E
square
#2A468B #8B2A76 #8B6F2A #2A8B3E
split-complementary
#2A468B #8B3E2A #768B2A
monochromatic
#0E172D #1C2E5C #2A468B #385EBA #6080CF

Accessibility & contrast

On white

8.95
#2A468B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A468B
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A468B#FFFFFF#000000##FFFFFF
##2A468B1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#08458A
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a468b;
/* rgb */ color: rgb(42, 70, 139);
/* oklch */ color: oklch(41.2% 0.120 265.0);
Tailwind
colors: {
  custom: {
    50: '#7079ad',
    500: '#2a468b',
    950: '#000000',
  },
}
SCSS
$custom: #2a468b;
$custom-light: #7079ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a468b",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 139
  },
  "hsl": {
    "h": 222.68,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41173,
    "c": 0.11969,
    "h": 265
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A468B

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

Preview Lab → · Contrast checker → · Palette generator →

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