#2A3B8B#2A3B8B

#2A3B8B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.134 H 269.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2A3B8B
RGBrgb(42, 59, 139)
HSLhsl(229, 54%, 35%)
HSVhsv(229, 70%, 55%)
CMYKcmyk(69.8%, 57.6%, 0%, 45.5%)
CIE-LABlab(28.07, 21.38, -46.65)
CIE-LCHlch(28.07, 51.32, 294.62°)
OKLaboklab(38.81% -0.0001 -0.1343)
OKLCHoklch(38.81% 0.134 269.9)
XYZxyz(7.1774, 5.4836, 25.1013)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B8B #8B7A2A
analogous
#2A6B8B #2A3B8B #4A2A8B
triadic
#2A3B8B #8B2A3B #3B8B2A
tetradic
#2A3B8B #8B2A6B #8B7A2A #2A8B4A
square
#2A3B8B #8B2A6B #8B7A2A #2A8B4A
split-complementary
#2A3B8B #8B4A2A #6B8B2A
monochromatic
#0E132D #1C275C #2A3B8B #384FBA #6074CF

Accessibility & contrast

On white

10.02
#2A3B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2A3B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3B8B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B8B#FFFFFF#000000##FFFFFF
##2A3B8B1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a3b8b;
/* rgb */ color: rgb(42, 59, 139);
/* oklch */ color: oklch(38.8% 0.134 269.9);
Tailwind
colors: {
  custom: {
    50: '#7070ae',
    500: '#2a3b8b',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b8b;
$custom-light: #7070ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b8b",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 139
  },
  "hsl": {
    "h": 229.485,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38806,
    "c": 0.13427,
    "h": 269.9
  },
  "luminance": 0.05484
}

Semantic roles & 50–950 ramp

primary
#2A3B8B
secondary
#B5A55C
accent
#C34BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2A3B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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