#2F44A6#2F44A6

#2F44A6 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.159 H 269.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2F44A6
RGBrgb(47, 68, 166)
HSLhsl(229, 56%, 42%)
HSVhsv(229, 72%, 65%)
CMYKcmyk(71.7%, 59%, 0%, 34.9%)
CIE-LABlab(32.90, 26.21, -55.23)
CIE-LCHlch(32.90, 61.14, 295.39°)
OKLaboklab(43.16% -0.0018 -0.1593)
OKLCHoklch(43.16% 0.159 269.3)
XYZxyz(10.1200, 7.4907, 36.9815)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F44A6 #A6912F
analogous
#2F80A6 #2F44A6 #562FA6
triadic
#2F44A6 #A62F44 #44A62F
tetradic
#2F44A6 #A62F80 #A6912F #2FA656
square
#2F44A6 #A62F80 #A6912F #2FA656
split-complementary
#2F44A6 #A6562F #80A62F
monochromatic
#141D47 #213076 #2F44A6 #475ECB #7788D8

Accessibility & contrast

On white

8.41
#2F44A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2F44A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F44A6
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F44A6#FFFFFF#000000##FFFFFF
##2F44A61.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f44a6;
/* rgb */ color: rgb(47, 68, 166);
/* oklch */ color: oklch(43.2% 0.159 269.3);
Tailwind
colors: {
  custom: {
    50: '#7877c1',
    500: '#2f44a6',
    950: '#000000',
  },
}
SCSS
$custom: #2f44a6;
$custom-light: #7877c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f44a6",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 166
  },
  "hsl": {
    "h": 229.412,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4316,
    "c": 0.15928,
    "h": 269.3
  },
  "luminance": 0.07492
}

Semantic roles & 50–950 ramp

primary
#2F44A6
secondary
#C1B270
accent
#C549DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F44A6

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

Preview Lab → · Contrast checker → · Palette generator →

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