#2D3262#2D3262

#2D3262 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.084 H 276.5°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#2D3262
RGBrgb(45, 50, 98)
HSLhsl(234, 37%, 28%)
HSVhsv(234, 54%, 38%)
CMYKcmyk(54.1%, 49%, 0%, 61.6%)
CIE-LABlab(22.73, 12.97, -29.22)
CIE-LCHlch(22.73, 31.97, 293.94°)
OKLaboklab(33.88% 0.0095 -0.083)
OKLCHoklch(33.88% 0.084 276.5)
XYZxyz(4.4267, 3.7207, 12.0378)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3262 #625D2D
analogous
#2D4C62 #2D3262 #422D62
triadic
#2D3262 #622D32 #32622D
tetradic
#2D3262 #622D4C #625D2D #2D6242
square
#2D3262 #622D4C #625D2D #2D6242
split-complementary
#2D3262 #62422D #4C622D
monochromatic
#0A0B15 #1A1D38 #2D3262 #40478C #5760B2

Accessibility & contrast

On white

12.04
#2D3262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D3262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3262
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3262#FFFFFF#000000##FFFFFF
##2D32621.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3864
Deuteranopia (green-blind)
#183461
Tritanopia (blue-blind)
#173C45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d3262;
/* rgb */ color: rgb(45, 50, 98);
/* oklch */ color: oklch(33.9% 0.084 276.5);
Tailwind
colors: {
  custom: {
    50: '#6a698f',
    500: '#2d3262',
    950: '#000000',
  },
}
SCSS
$custom: #2d3262;
$custom-light: #6a698f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3262",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 234.34,
    "s": 37.063,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3388,
    "c": 0.08359,
    "h": 276.5
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#2D3262
secondary
#948E57
accent
#C25BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2D3262

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

Preview Lab → · Contrast checker → · Palette generator →

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