#2D468E#2D468E

#2D468E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.123 H 266.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2D468E
RGBrgb(45, 70, 142)
HSLhsl(225, 52%, 37%)
HSVhsv(225, 68%, 56%)
CMYKcmyk(68.3%, 50.7%, 0%, 44.3%)
CIE-LABlab(31.56, 15.53, -42.86)
CIE-LCHlch(31.56, 45.58, 289.92°)
OKLaboklab(41.55% -0.0072 -0.1229)
OKLCHoklch(41.55% 0.123 266.6)
XYZxyz(8.1531, 6.8904, 26.4863)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D468E #8E752D
analogous
#2D778E #2D468E #452D8E
triadic
#2D468E #8E2D46 #468E2D
tetradic
#2D468E #8E2D77 #8E752D #2D8E45
square
#2D468E #8E2D77 #8E752D #2D8E45
split-complementary
#2D468E #8E452D #778E2D
monochromatic
#101831 #1E2F60 #2D468E #3C5DBC #6781CF

Accessibility & contrast

On white

8.83
#2D468E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2D468E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D468E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D468E#FFFFFF#000000##FFFFFF
##2D468E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#02468D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d468e;
/* rgb */ color: rgb(45, 70, 142);
/* oklch */ color: oklch(41.6% 0.123 266.6);
Tailwind
colors: {
  custom: {
    50: '#7179b0',
    500: '#2d468e',
    950: '#000000',
  },
}
SCSS
$custom: #2d468e;
$custom-light: #7179b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d468e",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 142
  },
  "hsl": {
    "h": 224.536,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41553,
    "c": 0.12308,
    "h": 266.6
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#2D468E
secondary
#B5A061
accent
#B74CDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2D468E

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

Preview Lab → · Contrast checker → · Palette generator →

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