#2F44B1#2F44B1

#2F44B1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.174 H 269.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2F44B1
RGBrgb(47, 68, 177)
HSLhsl(230, 58%, 44%)
HSVhsv(230, 73%, 69%)
CMYKcmyk(73.4%, 61.6%, 0%, 30.6%)
CIE-LABlab(33.80, 30.28, -60.33)
CIE-LCHlch(33.80, 67.51, 296.65°)
OKLaboklab(44.11% -0.0018 -0.1742)
OKLCHoklch(44.11% 0.174 269.4)
XYZxyz(11.1725, 7.9117, 42.5248)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F44B1 #B19C2F
analogous
#2F85B1 #2F44B1 #5B2FB1
triadic
#2F44B1 #B12F44 #44B12F
tetradic
#2F44B1 #B12F85 #B19C2F #2FB15B
square
#2F44B1 #B12F85 #B19C2F #2FB15B
split-complementary
#2F44B1 #B15B2F #85B12F
monochromatic
#151F50 #223181 #2F44B1 #4D62D0 #7E8DDD

Accessibility & contrast

On white

8.13
#2F44B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2F44B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F44B1
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F44B1#FFFFFF#000000##FFFFFF
##2F44B11.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#004AAF
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f44b1;
/* rgb */ color: rgb(47, 68, 177);
/* oklch */ color: oklch(44.1% 0.174 269.4);
Tailwind
colors: {
  custom: {
    50: '#7a77c9',
    500: '#2f44b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f44b1;
$custom-light: #7a77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f44b1",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 177
  },
  "hsl": {
    "h": 230.308,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44108,
    "c": 0.17425,
    "h": 269.4
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#2F44B1
secondary
#C5B976
accent
#C847E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F44B1

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

Preview Lab → · Contrast checker → · Palette generator →

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