#2D2F65#2D2F65

#2D2F65 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.093 H 278.5°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#2D2F65
RGBrgb(45, 47, 101)
HSLhsl(238, 38%, 29%)
HSVhsv(238, 55%, 40%)
CMYKcmyk(55.4%, 53.5%, 0%, 60.4%)
CIE-LABlab(22.05, 16.15, -32.25)
CIE-LCHlch(22.05, 36.07, 296.59°)
OKLaboklab(33.44% 0.0138 -0.092)
OKLCHoklch(33.44% 0.093 278.5)
XYZxyz(4.4469, 3.5302, 12.7565)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F65 #65632D
analogous
#2D4B65 #2D2F65 #472D65
triadic
#2D2F65 #652D2F #2F652D
tetradic
#2D2F65 #652D4B #65632D #2D6547
square
#2D2F65 #652D4B #65632D #2D6547
split-complementary
#2D2F65 #65472D #4B652D
monochromatic
#090A15 #1A1B3B #2D2F65 #40438F #585BB5

Accessibility & contrast

On white

12.31
#2D2F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2D2F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F65
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F65#FFFFFF#000000##FFFFFF
##2D2F651.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153767
Deuteranopia (green-blind)
#0E3364
Tritanopia (blue-blind)
#153B45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2f65;
/* rgb */ color: rgb(45, 47, 101);
/* oklch */ color: oklch(33.4% 0.093 278.5);
Tailwind
colors: {
  custom: {
    50: '#6b6791',
    500: '#2d2f65',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f65;
$custom-light: #6b6791;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f65",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 237.857,
    "s": 38.356,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33437,
    "c": 0.09301,
    "h": 278.5
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#2D2F65
secondary
#979557
accent
#CA5ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060D
muted
#7A7A7D

Preview Lab

Preview with #2D2F65

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

Preview Lab → · Contrast checker → · Palette generator →

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