#2B415F#2B415F

#2B415F is a dark, muted cyan. Relative luminance 0.051; OKLCH L 37.1% C 0.059 H 256.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2B415F
RGBrgb(43, 65, 95)
HSLhsl(215, 38%, 27%)
HSVhsv(215, 55%, 37%)
CMYKcmyk(54.7%, 31.6%, 0%, 62.7%)
CIE-LABlab(27.07, 1.07, -20.41)
CIE-LCHlch(27.07, 20.44, 273.01°)
OKLaboklab(37.14% -0.0139 -0.0573)
OKLCHoklch(37.14% 0.059 256.4)
XYZxyz(4.9514, 5.1200, 11.5516)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B415F #5F492B
analogous
#2B5B5F #2B415F #2F2B5F
triadic
#2B415F #5F2B41 #415F2B
tetradic
#2B415F #5F2B5B #5F492B #2B5F2F
square
#2B415F #5F2B5B #5F492B #2B5F2F
split-complementary
#2B415F #5F2F2B #5B5F2B
monochromatic
#0A0E15 #182435 #2B415F #3E5E89 #537BB1

Accessibility & contrast

On white

10.38
#2B415F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B415F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B415F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B415F#FFFFFF#000000##FFFFFF
##2B415F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354360
Deuteranopia (green-blind)
#2F3E5E
Tritanopia (blue-blind)
#11484C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b415f;
/* rgb */ color: rgb(43, 65, 95);
/* oklch */ color: oklch(37.1% 0.059 256.4);
Tailwind
colors: {
  custom: {
    50: '#68758c',
    500: '#2b415f',
    950: '#000000',
  },
}
SCSS
$custom: #2b415f;
$custom-light: #68758c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b415f",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 214.615,
    "s": 37.681,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37143,
    "c": 0.05896,
    "h": 256.4
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#2B415F
secondary
#917855
accent
#9D5ACE
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2B415F

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

Preview Lab → · Contrast checker → · Palette generator →

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