#2F44A8#2F44A8

#2F44A8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.162 H 269.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2F44A8
RGBrgb(47, 68, 168)
HSLhsl(230, 56%, 42%)
HSVhsv(230, 72%, 66%)
CMYKcmyk(72%, 59.5%, 0%, 34.1%)
CIE-LABlab(33.06, 26.95, -56.17)
CIE-LCHlch(33.06, 62.30, 295.64°)
OKLaboklab(43.33% -0.0018 -0.162)
OKLCHoklch(43.33% 0.162 269.4)
XYZxyz(10.3049, 7.5647, 37.9552)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F44A8 #A8932F
analogous
#2F80A8 #2F44A8 #572FA8
triadic
#2F44A8 #A82F44 #44A82F
tetradic
#2F44A8 #A82F80 #A8932F #2FA857
square
#2F44A8 #A82F80 #A8932F #2FA857
split-complementary
#2F44A8 #A8572F #80A82F
monochromatic
#141D48 #223178 #2F44A8 #485FCC #7889D9

Accessibility & contrast

On white

8.36
#2F44A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2F44A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F44A8
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F44A8#FFFFFF#000000##FFFFFF
##2F44A81.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f44a8;
/* rgb */ color: rgb(47, 68, 168);
/* oklch */ color: oklch(43.3% 0.162 269.4);
Tailwind
colors: {
  custom: {
    50: '#7877c3',
    500: '#2f44a8',
    950: '#000000',
  },
}
SCSS
$custom: #2f44a8;
$custom-light: #7877c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f44a8",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 168
  },
  "hsl": {
    "h": 229.587,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43329,
    "c": 0.16203,
    "h": 269.4
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

primary
#2F44A8
secondary
#C1B471
accent
#C548E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2F44A8

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

Preview Lab → · Contrast checker → · Palette generator →

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