#2D4F9D#2D4F9D

#2D4F9D is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.133 H 264.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2D4F9D
RGBrgb(45, 79, 157)
HSLhsl(222, 55%, 40%)
HSVhsv(222, 71%, 62%)
CMYKcmyk(71.3%, 49.7%, 0%, 38.4%)
CIE-LABlab(35.17, 15.19, -46.15)
CIE-LCHlch(35.17, 48.59, 288.21°)
OKLaboklab(44.64% -0.0138 -0.1324)
OKLCHoklch(44.64% 0.133 264.1)
XYZxyz(9.9618, 8.5831, 33.0235)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F9D #9D7B2D
analogous
#2D879D #2D4F9D #432D9D
triadic
#2D4F9D #9D2D4F #4F9D2D
tetradic
#2D4F9D #9D2D87 #9D7B2D #2D9D43
square
#2D4F9D #9D2D87 #9D7B2D #2D9D43
split-complementary
#2D4F9D #9D432D #879D2D
monochromatic
#121F3E #1F376D #2D4F9D #3F69C8 #6F8ED6

Accessibility & contrast

On white

7.73
#2D4F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D4F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F9D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F9D#FFFFFF#000000##FFFFFF
##2D4F9D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#004E9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d4f9d;
/* rgb */ color: rgb(45, 79, 157);
/* oklch */ color: oklch(44.6% 0.133 264.1);
Tailwind
colors: {
  custom: {
    50: '#747fba',
    500: '#2d4f9d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f9d;
$custom-light: #747fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f9d",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 221.786,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44637,
    "c": 0.13315,
    "h": 264.1
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#2D4F9D
secondary
#BDA369
accent
#B149DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D4F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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