#2F44AB#2F44AB

#2F44AB is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.166 H 269.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2F44AB
RGBrgb(47, 68, 171)
HSLhsl(230, 57%, 43%)
HSVhsv(230, 73%, 67%)
CMYKcmyk(72.5%, 60.2%, 0%, 32.9%)
CIE-LABlab(33.30, 28.07, -57.57)
CIE-LCHlch(33.30, 64.05, 295.99°)
OKLaboklab(43.59% -0.0018 -0.1661)
OKLCHoklch(43.59% 0.166 269.4)
XYZxyz(10.5876, 7.6778, 39.4442)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F44AB #AB962F
analogous
#2F82AB #2F44AB #582FAB
triadic
#2F44AB #AB2F44 #44AB2F
tetradic
#2F44AB #AB2F82 #AB962F #2FAB58
square
#2F44AB #AB2F82 #AB962F #2FAB58
split-complementary
#2F44AB #AB582F #82AB2F
monochromatic
#151E4B #22317B #2F44AB #4A60CD #7A8ADA

Accessibility & contrast

On white

8.28
#2F44AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2F44AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F44AB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F44AB#FFFFFF#000000##FFFFFF
##2F44AB1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f44ab;
/* rgb */ color: rgb(47, 68, 171);
/* oklch */ color: oklch(43.6% 0.166 269.4);
Tailwind
colors: {
  custom: {
    50: '#7977c5',
    500: '#2f44ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f44ab;
$custom-light: #7977c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f44ab",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 171
  },
  "hsl": {
    "h": 229.839,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43586,
    "c": 0.16614,
    "h": 269.4
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#2F44AB
secondary
#C3B573
accent
#C648E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2F44AB

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

Preview Lab → · Contrast checker → · Palette generator →

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