#2B2F70#2B2F70

#2B2F70 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.111 H 276.2°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#2B2F70
RGBrgb(43, 47, 112)
HSLhsl(237, 45%, 30%)
HSVhsv(237, 62%, 44%)
CMYKcmyk(61.6%, 58%, 0%, 56.1%)
CIE-LABlab(22.71, 19.70, -38.32)
CIE-LCHlch(22.71, 43.09, 297.21°)
OKLaboklab(34.15% 0.0119 -0.1099)
OKLCHoklch(34.15% 0.111 276.2)
XYZxyz(4.9365, 3.7161, 15.7832)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F70 #706C2B
analogous
#2B5170 #2B2F70 #492B70
triadic
#2B2F70 #702B2F #2F702B
tetradic
#2B2F70 #702B51 #706C2B #2B7049
square
#2B2F70 #702B51 #706C2B #2B7049
split-complementary
#2B2F70 #70492B #51702B
monochromatic
#090A18 #1A1C44 #2B2F70 #3C429C #575DBE

Accessibility & contrast

On white

12.05
#2B2F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B2F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F70
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F70#FFFFFF#000000##FFFFFF
##2B2F701.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013972
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2f70;
/* rgb */ color: rgb(43, 47, 112);
/* oklch */ color: oklch(34.1% 0.111 276.2);
Tailwind
colors: {
  custom: {
    50: '#6c679a',
    500: '#2b2f70',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f70;
$custom-light: #6c679a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f70",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 236.522,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34148,
    "c": 0.11053,
    "h": 276.2
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#2B2F70
secondary
#A29D55
accent
#CD54D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B2F70

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

Preview Lab → · Contrast checker → · Palette generator →

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