#2A4375#2A4375

#2A4375 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.091 H 262.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2A4375
RGBrgb(42, 67, 117)
HSLhsl(220, 47%, 31%)
HSVhsv(220, 64%, 46%)
CMYKcmyk(64.1%, 42.7%, 0%, 54.1%)
CIE-LABlab(28.88, 7.53, -31.61)
CIE-LCHlch(28.88, 32.50, 283.40°)
OKLaboklab(38.93% -0.0113 -0.0899)
OKLCHoklch(38.93% 0.091 262.8)
XYZxyz(6.1718, 5.7904, 17.6186)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4375 #755C2A
analogous
#2A6875 #2A4375 #362A75
triadic
#2A4375 #752A43 #43752A
tetradic
#2A4375 #752A68 #755C2A #2A7536
square
#2A4375 #752A68 #755C2A #2A7536
split-complementary
#2A4375 #75362A #68752A
monochromatic
#0A0F1B #1A2948 #2A4375 #3A5DA2 #577BC3

Accessibility & contrast

On white

9.73
#2A4375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2A4375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4375
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4375#FFFFFF#000000##FFFFFF
##2A43751.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4877
Deuteranopia (green-blind)
#224174
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4375;
/* rgb */ color: rgb(42, 67, 117);
/* oklch */ color: oklch(38.9% 0.091 262.8);
Tailwind
colors: {
  custom: {
    50: '#6b769d',
    500: '#2a4375',
    950: '#000000',
  },
}
SCSS
$custom: #2a4375;
$custom-light: #6b769d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4375",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 117
  },
  "hsl": {
    "h": 220,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38932,
    "c": 0.09065,
    "h": 262.8
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#2A4375
secondary
#A78B54
accent
#AA51D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4375

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

Preview Lab → · Contrast checker → · Palette generator →

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