#2B244F#2B244F

#2B244F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.076 H 288.3°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#2B244F
RGBrgb(43, 36, 79)
HSLhsl(250, 37%, 23%)
HSVhsv(250, 54%, 31%)
CMYKcmyk(45.6%, 54.4%, 0%, 69%)
CIE-LABlab(17.18, 15.67, -25.46)
CIE-LCHlch(17.18, 29.89, 301.61°)
OKLaboklab(29.23% 0.0238 -0.0722)
OKLCHoklch(29.23% 0.076 288.3)
XYZxyz(3.0380, 2.3398, 7.6872)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B244F #484F24
analogous
#24334F #2B244F #40244F
triadic
#2B244F #4F2B24 #244F2B
tetradic
#2B244F #4F2433 #484F24 #244F40
square
#2B244F #4F2433 #484F24 #244F40
split-complementary
#2B244F #4F4024 #334F24
monochromatic
#0B0A15 #141125 #2B244F #423779 #594AA3

Accessibility & contrast

On white

14.31
#2B244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2B244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B244F
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B244F#FFFFFF#000000##FFFFFF
##2B244F1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#12294E
Tritanopia (blue-blind)
#212D35
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2b244f;
/* rgb */ color: rgb(43, 36, 79);
/* oklch */ color: oklch(29.2% 0.076 288.3);
Tailwind
colors: {
  custom: {
    50: '#675e80',
    500: '#2b244f',
    950: '#000000',
  },
}
SCSS
$custom: #2b244f;
$custom-light: #675e80;
$custom-dark: #000000;
JSON
{
  "hex": "#2b244f",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 249.767,
    "s": 37.391,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29234,
    "c": 0.07598,
    "h": 288.3
  },
  "luminance": 0.0234
}

Semantic roles & 50–950 ramp

primary
#2B244F
secondary
#7A824C
accent
#CD5ABB
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2B244F

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

Preview Lab → · Contrast checker → · Palette generator →

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