#2D457E#2D457E

#2D457E is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.101 H 265.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2D457E
RGBrgb(45, 69, 126)
HSLhsl(222, 47%, 34%)
HSVhsv(222, 64%, 49%)
CMYKcmyk(64.3%, 45.2%, 0%, 50.6%)
CIE-LABlab(30.21, 10.17, -35.13)
CIE-LCHlch(30.21, 36.57, 286.15°)
OKLaboklab(40.18% -0.0087 -0.1002)
OKLCHoklch(40.18% 0.101 265)
XYZxyz(6.9749, 6.3199, 20.5869)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D457E #7E662D
analogous
#2D6D7E #2D457E #3D2D7E
triadic
#2D457E #7E2D45 #457E2D
tetradic
#2D457E #7E2D6D #7E662D #2D7E3D
square
#2D457E #7E2D6D #7E662D #2D7E3D
split-complementary
#2D457E #7E3D2D #6D7E2D
monochromatic
#0D1424 #1D2C51 #2D457E #3D5EAB #5F7EC6

Accessibility & contrast

On white

9.28
#2D457E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2D457E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D457E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D457E#FFFFFF#000000##FFFFFF
##2D457E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d457e;
/* rgb */ color: rgb(45, 69, 126);
/* oklch */ color: oklch(40.2% 0.101 265.0);
Tailwind
colors: {
  custom: {
    50: '#6e78a4',
    500: '#2d457e',
    950: '#000000',
  },
}
SCSS
$custom: #2d457e;
$custom-light: #6e78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d457e",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 222.222,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4018,
    "c": 0.10054,
    "h": 265
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#2D457E
secondary
#AC945A
accent
#AF51D7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D457E

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

Preview Lab → · Contrast checker → · Palette generator →

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