#2B2F6C#2B2F6C

#2B2F6C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.104 H 276.4°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#2B2F6C
RGBrgb(43, 47, 108)
HSLhsl(236, 43%, 30%)
HSVhsv(236, 60%, 42%)
CMYKcmyk(60.2%, 56.5%, 0%, 57.6%)
CIE-LABlab(22.40, 18.23, -36.24)
CIE-LCHlch(22.40, 40.56, 296.70°)
OKLaboklab(33.82% 0.0117 -0.1038)
OKLCHoklch(33.82% 0.104 276.4)
XYZxyz(4.7187, 3.6290, 14.6363)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F6C #6C682B
analogous
#2B506C #2B2F6C #482B6C
triadic
#2B2F6C #6C2B2F #2F6C2B
tetradic
#2B2F6C #6C2B50 #6C682B #2B6C48
square
#2B2F6C #6C2B50 #6C682B #2B6C48
split-complementary
#2B2F6C #6C482B #506C2B
monochromatic
#090A16 #1A1C40 #2B2F6C #3C4298 #565CBC

Accessibility & contrast

On white

12.17
#2B2F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B2F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F6C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F6C#FFFFFF#000000##FFFFFF
##2B2F6C1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09386E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#043D48
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2f6c;
/* rgb */ color: rgb(43, 47, 108);
/* oklch */ color: oklch(33.8% 0.104 276.4);
Tailwind
colors: {
  custom: {
    50: '#6b6797',
    500: '#2b2f6c',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f6c;
$custom-light: #6b6797;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f6c",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 236.308,
    "s": 43.046,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33824,
    "c": 0.10442,
    "h": 276.4
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#2B2F6C
secondary
#9E9955
accent
#CB55D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2B2F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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