#2D4F9C#2D4F9C

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

Color values

HEX#2D4F9C
RGBrgb(45, 79, 156)
HSLhsl(222, 55%, 39%)
HSVhsv(222, 71%, 61%)
CMYKcmyk(71.2%, 49.4%, 0%, 38.8%)
CIE-LABlab(35.10, 14.81, -45.66)
CIE-LCHlch(35.10, 48.00, 287.97°)
OKLaboklab(44.56% -0.0139 -0.131)
OKLCHoklch(44.56% 0.132 263.9)
XYZxyz(9.8768, 8.5491, 32.5757)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F9C #9C7A2D
analogous
#2D879C #2D4F9C #432D9C
triadic
#2D4F9C #9C2D4F #4F9C2D
tetradic
#2D4F9C #9C2D87 #9C7A2D #2D9C43
square
#2D4F9C #9C2D87 #9C7A2D #2D9C43
split-complementary
#2D4F9C #9C432D #879C2D
monochromatic
#121F3D #1F376D #2D4F9C #3F69C8 #6E8ED5

Accessibility & contrast

On white

7.75
#2D4F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2D4F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F9C
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F9C#FFFFFF#000000##FFFFFF
##2D4F9C1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589F
Deuteranopia (green-blind)
#044E9A
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d4f9c;
/* rgb */ color: rgb(45, 79, 156);
/* oklch */ color: oklch(44.6% 0.132 263.9);
Tailwind
colors: {
  custom: {
    50: '#747fba',
    500: '#2d4f9c',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f9c;
$custom-light: #747fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f9c",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 156
  },
  "hsl": {
    "h": 221.622,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44563,
    "c": 0.13171,
    "h": 263.9
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#2D4F9C
secondary
#BCA368
accent
#B149DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D4F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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