#2D4F9F#2D4F9F

#2D4F9F is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.136 H 264.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2D4F9F
RGBrgb(45, 79, 159)
HSLhsl(222, 56%, 40%)
HSVhsv(222, 72%, 62%)
CMYKcmyk(71.7%, 50.3%, 0%, 37.6%)
CIE-LABlab(35.31, 15.95, -47.14)
CIE-LCHlch(35.31, 49.76, 288.69°)
OKLaboklab(44.78% -0.0135 -0.1353)
OKLCHoklch(44.78% 0.136 264.3)
XYZxyz(10.1340, 8.6520, 33.9301)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F9F #9F7D2D
analogous
#2D889F #2D4F9F #442D9F
triadic
#2D4F9F #9F2D4F #4F9F2D
tetradic
#2D4F9F #9F2D88 #9F7D2D #2D9F44
square
#2D4F9F #9F2D88 #9F7D2D #2D9F44
split-complementary
#2D4F9F #9F442D #889F2D
monochromatic
#122040 #20376F #2D4F9F #4069C9 #708FD6

Accessibility & contrast

On white

7.69
#2D4F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2D4F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F9F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F9F#FFFFFF#000000##FFFFFF
##2D4F9F1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2159A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d4f9f;
/* rgb */ color: rgb(45, 79, 159);
/* oklch */ color: oklch(44.8% 0.136 264.3);
Tailwind
colors: {
  custom: {
    50: '#757fbc',
    500: '#2d4f9f',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f9f;
$custom-light: #757fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f9f",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 222.105,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.44784,
    "c": 0.13599,
    "h": 264.3
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#2D4F9F
secondary
#BEA56A
accent
#B249DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D4F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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