#2B2F5C#2B2F5C

#2B2F5C is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.079 H 277.2°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#2B2F5C
RGBrgb(43, 47, 92)
HSLhsl(235, 36%, 26%)
HSVhsv(235, 53%, 36%)
CMYKcmyk(53.3%, 48.9%, 0%, 63.9%)
CIE-LABlab(21.28, 12.42, -27.60)
CIE-LCHlch(21.28, 30.27, 294.22°)
OKLaboklab(32.61% 0.01 -0.0784)
OKLCHoklch(32.61% 0.079 277.2)
XYZxyz(3.9439, 3.3191, 10.5560)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F5C #5C582B
analogous
#2B485C #2B2F5C #402B5C
triadic
#2B2F5C #5C2B2F #2F5C2B
tetradic
#2B2F5C #5C2B48 #5C582B #2B5C40
square
#2B2F5C #5C2B48 #5C582B #2B5C40
split-complementary
#2B2F5C #5C402B #485C2B
monochromatic
#0A0B15 #181A32 #2B2F5C #3E4486 #535AAF

Accessibility & contrast

On white

12.62
#2B2F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2B2F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F5C
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F5C#FFFFFF#000000##FFFFFF
##2B2F5C1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C355E
Deuteranopia (green-blind)
#18315B
Tritanopia (blue-blind)
#183941
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2f5c;
/* rgb */ color: rgb(43, 47, 92);
/* oklch */ color: oklch(32.6% 0.079 277.2);
Tailwind
colors: {
  custom: {
    50: '#68678a',
    500: '#2b2f5c',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f5c;
$custom-light: #68678a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f5c",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 235.102,
    "s": 36.296,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32612,
    "c": 0.07902,
    "h": 277.2
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#2B2F5C
secondary
#8E8A55
accent
#C35BCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2B2F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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