#2A357F#2A357F

#2A357F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.125 H 272.3°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2A357F
RGBrgb(42, 53, 127)
HSLhsl(232, 50%, 33%)
HSVhsv(232, 67%, 50%)
CMYKcmyk(66.9%, 58.3%, 0%, 50.2%)
CIE-LABlab(25.47, 20.95, -43.38)
CIE-LCHlch(25.47, 48.17, 295.78°)
OKLaboklab(36.57% 0.005 -0.1247)
OKLCHoklch(36.57% 0.125 272.3)
XYZxyz(6.0574, 4.5702, 20.6375)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A357F #7F742A
analogous
#2A5F7F #2A357F #492A7F
triadic
#2A357F #7F2A35 #357F2A
tetradic
#2A357F #7F2A5F #7F742A #2A7F49
square
#2A357F #7F2A5F #7F742A #2A7F49
split-complementary
#2A357F #7F492A #5F7F2A
monochromatic
#0C0F23 #1B2251 #2A357F #3948AD #5B69C9

Accessibility & contrast

On white

10.97
#2A357F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2A357F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A357F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A357F#FFFFFF#000000##FFFFFF
##2A357F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a357f;
/* rgb */ color: rgb(42, 53, 127);
/* oklch */ color: oklch(36.6% 0.125 272.3);
Tailwind
colors: {
  custom: {
    50: '#6e6ca5',
    500: '#2a357f',
    950: '#000000',
  },
}
SCSS
$custom: #2a357f;
$custom-light: #6e6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a357f",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 127
  },
  "hsl": {
    "h": 232.235,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36566,
    "c": 0.12483,
    "h": 272.3
  },
  "luminance": 0.04571
}

Semantic roles & 50–950 ramp

primary
#2A357F
secondary
#AEA357
accent
#C84EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2A357F

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

Preview Lab → · Contrast checker → · Palette generator →

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