#2A457E#2A457E

#2A457E is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.102 H 263.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2A457E
RGBrgb(42, 69, 126)
HSLhsl(221, 50%, 33%)
HSVhsv(221, 67%, 49%)
CMYKcmyk(66.7%, 45.2%, 0%, 50.6%)
CIE-LABlab(30.04, 9.58, -35.39)
CIE-LCHlch(30.04, 36.67, 285.15°)
OKLaboklab(40.01% -0.0116 -0.101)
OKLCHoklch(40.01% 0.102 263.4)
XYZxyz(6.8475, 6.2542, 20.5809)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A457E #7E632A
analogous
#2A6F7E #2A457E #392A7E
triadic
#2A457E #7E2A45 #457E2A
tetradic
#2A457E #7E2A6F #7E632A #2A7E39
square
#2A457E #7E2A6F #7E632A #2A7E39
split-complementary
#2A457E #7E392A #6F7E2A
monochromatic
#0B1322 #1B2C50 #2A457E #395EAC #5A7EC8

Accessibility & contrast

On white

9.33
#2A457E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A457E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A457E#FFFFFF#000000##FFFFFF
##2A457E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a457e;
/* rgb */ color: rgb(42, 69, 126);
/* oklch */ color: oklch(40.0% 0.102 263.4);
Tailwind
colors: {
  custom: {
    50: '#6d78a4',
    500: '#2a457e',
    950: '#000000',
  },
}
SCSS
$custom: #2a457e;
$custom-light: #6d78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a457e",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 220.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40013,
    "c": 0.10168,
    "h": 263.4
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#2A457E
secondary
#AE9256
accent
#AD4EDA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2A457E

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

Preview Lab → · Contrast checker → · Palette generator →

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