#2A3F73#2A3F73

#2A3F73 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.093 H 265.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2A3F73
RGBrgb(42, 63, 115)
HSLhsl(223, 46%, 31%)
HSVhsv(223, 63%, 45%)
CMYKcmyk(63.5%, 45.2%, 0%, 54.9%)
CIE-LABlab(27.53, 9.51, -32.49)
CIE-LCHlch(27.53, 33.85, 286.31°)
OKLaboklab(37.85% -0.0071 -0.0926)
OKLCHoklch(37.85% 0.093 265.6)
XYZxyz(5.8258, 5.2846, 16.9293)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3F73 #735E2A
analogous
#2A6373 #2A3F73 #392A73
triadic
#2A3F73 #732A3F #3F732A
tetradic
#2A3F73 #732A63 #735E2A #2A7339
square
#2A3F73 #732A63 #735E2A #2A7339
split-complementary
#2A3F73 #73392A #63732A
monochromatic
#090E19 #1A2646 #2A3F73 #3A58A0 #5675C1

Accessibility & contrast

On white

10.21
#2A3F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A3F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3F73
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3F73#FFFFFF#000000##FFFFFF
##2A3F731.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274575
Deuteranopia (green-blind)
#1D3E72
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a3f73;
/* rgb */ color: rgb(42, 63, 115);
/* oklch */ color: oklch(37.9% 0.093 265.6);
Tailwind
colors: {
  custom: {
    50: '#6b739b',
    500: '#2a3f73',
    950: '#000000',
  },
}
SCSS
$custom: #2a3f73;
$custom-light: #6b739b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3f73",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 115
  },
  "hsl": {
    "h": 222.74,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37854,
    "c": 0.09285,
    "h": 265.6
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#2A3F73
secondary
#A58E54
accent
#B052D6
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A3F73

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

Preview Lab → · Contrast checker → · Palette generator →

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