#2F44B2#2F44B2

#2F44B2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.176 H 269.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2F44B2
RGBrgb(47, 68, 178)
HSLhsl(230, 58%, 44%)
HSVhsv(230, 74%, 70%)
CMYKcmyk(73.6%, 61.8%, 0%, 30.2%)
CIE-LABlab(33.88, 30.65, -60.79)
CIE-LCHlch(33.88, 68.08, 296.76°)
OKLaboklab(44.2% -0.0018 -0.1756)
OKLCHoklch(44.2% 0.176 269.4)
XYZxyz(11.2725, 7.9518, 43.0516)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F44B2 #B29D2F
analogous
#2F86B2 #2F44B2 #5C2FB2
triadic
#2F44B2 #B22F44 #44B22F
tetradic
#2F44B2 #B22F86 #B29D2F #2FB25C
square
#2F44B2 #B22F86 #B29D2F #2FB25C
split-complementary
#2F44B2 #B25C2F #86B22F
monochromatic
#151F51 #223282 #2F44B2 #4E63D0 #7E8EDD

Accessibility & contrast

On white

8.11
#2F44B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2F44B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F44B2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F44B2#FFFFFF#000000##FFFFFF
##2F44B21.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f44b2;
/* rgb */ color: rgb(47, 68, 178);
/* oklch */ color: oklch(44.2% 0.176 269.4);
Tailwind
colors: {
  custom: {
    50: '#7a77ca',
    500: '#2f44b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f44b2;
$custom-light: #7a77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f44b2",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 178
  },
  "hsl": {
    "h": 230.382,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44196,
    "c": 0.17559,
    "h": 269.4
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#2F44B2
secondary
#C6B977
accent
#C946E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F44B2

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

Preview Lab → · Contrast checker → · Palette generator →

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