#2D2F63#2D2F63

#2D2F63 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.090 H 278.7°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#2D2F63
RGBrgb(45, 47, 99)
HSLhsl(238, 38%, 28%)
HSVhsv(238, 55%, 39%)
CMYKcmyk(54.5%, 52.5%, 0%, 61.2%)
CIE-LABlab(21.91, 15.43, -31.17)
CIE-LCHlch(21.91, 34.78, 296.33°)
OKLaboklab(33.29% 0.0135 -0.0888)
OKLCHoklch(33.29% 0.09 278.7)
XYZxyz(4.3501, 3.4915, 12.2467)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F63 #63612D
analogous
#2D4A63 #2D2F63 #462D63
triadic
#2D2F63 #632D2F #2F632D
tetradic
#2D2F63 #632D4A #63612D #2D6346
square
#2D2F63 #632D4A #63612D #2D6346
split-complementary
#2D2F63 #63462D #4A632D
monochromatic
#0A0A15 #1A1B39 #2D2F63 #40438D #585BB3

Accessibility & contrast

On white

12.36
#2D2F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2D2F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F63
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F63#FFFFFF#000000##FFFFFF
##2D2F631.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173765
Deuteranopia (green-blind)
#113262
Tritanopia (blue-blind)
#173A44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d2f63;
/* rgb */ color: rgb(45, 47, 99);
/* oklch */ color: oklch(33.3% 0.090 278.7);
Tailwind
colors: {
  custom: {
    50: '#6a6790',
    500: '#2d2f63',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f63;
$custom-light: #6a6790;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f63",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 237.778,
    "s": 37.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33287,
    "c": 0.08983,
    "h": 278.7
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#2D2F63
secondary
#959357
accent
#C95ACD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2D2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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