#2A457D#2A457D

#2A457D is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.100 H 263.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2A457D
RGBrgb(42, 69, 125)
HSLhsl(220, 50%, 33%)
HSVhsv(220, 66%, 49%)
CMYKcmyk(66.4%, 44.8%, 0%, 51%)
CIE-LABlab(29.98, 9.20, -34.87)
CIE-LCHlch(29.98, 36.06, 284.78°)
OKLaboklab(39.94% -0.0118 -0.0995)
OKLCHoklch(39.94% 0.1 263.2)
XYZxyz(6.7833, 6.2285, 20.2428)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A457D #7D622A
analogous
#2A6E7D #2A457D #382A7D
triadic
#2A457D #7D2A45 #457D2A
tetradic
#2A457D #7D2A6E #7D622A #2A7D38
square
#2A457D #7D2A6E #7D622A #2A7D38
split-complementary
#2A457D #7D382A #6E7D2A
monochromatic
#0B1221 #1B2C4F #2A457D #395EAB #5A7EC8

Accessibility & contrast

On white

9.35
#2A457D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2A457D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A457D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A457D#FFFFFF#000000##FFFFFF
##2A457D1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#1E437C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a457d;
/* rgb */ color: rgb(42, 69, 125);
/* oklch */ color: oklch(39.9% 0.100 263.2);
Tailwind
colors: {
  custom: {
    50: '#6d78a3',
    500: '#2a457d',
    950: '#000000',
  },
}
SCSS
$custom: #2a457d;
$custom-light: #6d78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a457d",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 220.482,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39944,
    "c": 0.10017,
    "h": 263.2
  },
  "luminance": 0.06229
}

Semantic roles & 50–950 ramp

primary
#2A457D
secondary
#AD9156
accent
#AC4FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #2A457D

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

Preview Lab → · Contrast checker → · Palette generator →

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