#2D347E#2D347E

#2D347E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.124 H 274.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2D347E
RGBrgb(45, 52, 126)
HSLhsl(235, 47%, 34%)
HSVhsv(235, 64%, 49%)
CMYKcmyk(64.3%, 58.7%, 0%, 50.6%)
CIE-LABlab(25.32, 21.81, -42.99)
CIE-LCHlch(25.32, 48.20, 296.90°)
OKLaboklab(36.48% 0.0095 -0.1235)
OKLCHoklch(36.48% 0.124 274.4)
XYZxyz(6.0748, 4.5197, 20.2869)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D347E #7E772D
analogous
#2D5C7E #2D347E #4E2D7E
triadic
#2D347E #7E2D34 #347E2D
tetradic
#2D347E #7E2D5C #7E772D #2D7E4E
square
#2D347E #7E2D5C #7E772D #2D7E4E
split-complementary
#2D347E #7E4E2D #5C7E2D
monochromatic
#0D0F24 #1D2151 #2D347E #3D47AB #5F68C6

Accessibility & contrast

On white

11.03
#2D347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2D347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D347E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D347E#FFFFFF#000000##FFFFFF
##2D347E1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d347e;
/* rgb */ color: rgb(45, 52, 126);
/* oklch */ color: oklch(36.5% 0.124 274.4);
Tailwind
colors: {
  custom: {
    50: '#6f6ba4',
    500: '#2d347e',
    950: '#000000',
  },
}
SCSS
$custom: #2d347e;
$custom-light: #6f6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d347e",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 234.815,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36479,
    "c": 0.12388,
    "h": 274.4
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#2D347E
secondary
#ACA55A
accent
#CB51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D347E

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

Preview Lab → · Contrast checker → · Palette generator →

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