#2D4092#2D4092

#2D4092 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.137 H 269.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2D4092
RGBrgb(45, 64, 146)
HSLhsl(229, 53%, 37%)
HSVhsv(229, 69%, 57%)
CMYKcmyk(69.2%, 56.2%, 0%, 42.7%)
CIE-LABlab(30.16, 21.11, -47.57)
CIE-LCHlch(30.16, 52.04, 293.93°)
OKLaboklab(40.59% -0.0012 -0.1368)
OKLCHoklch(40.59% 0.137 269.5)
XYZxyz(8.1021, 6.2992, 27.9774)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4092 #927F2D
analogous
#2D7292 #2D4092 #4D2D92
triadic
#2D4092 #922D40 #40922D
tetradic
#2D4092 #922D72 #927F2D #2D924D
square
#2D4092 #922D72 #927F2D #2D924D
split-complementary
#2D4092 #924D2D #72922D
monochromatic
#101734 #1F2B63 #2D4092 #3B55C1 #697CD1

Accessibility & contrast

On white

9.29
#2D4092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4092
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4092#FFFFFF#000000##FFFFFF
##2D40921.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4092;
/* rgb */ color: rgb(45, 64, 146);
/* oklch */ color: oklch(40.6% 0.137 269.5);
Tailwind
colors: {
  custom: {
    50: '#7374b3',
    500: '#2d4092',
    950: '#000000',
  },
}
SCSS
$custom: #2d4092;
$custom-light: #7374b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4092",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 146
  },
  "hsl": {
    "h": 228.713,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40586,
    "c": 0.13684,
    "h": 269.5
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#2D4092
secondary
#B7A863
accent
#C14CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4092

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

Preview Lab → · Contrast checker → · Palette generator →

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