#2F44A2#2F44A2

#2F44A2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.154 H 269.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2F44A2
RGBrgb(47, 68, 162)
HSLhsl(229, 55%, 41%)
HSVhsv(229, 71%, 64%)
CMYKcmyk(71%, 58%, 0%, 36.5%)
CIE-LABlab(32.58, 24.72, -53.34)
CIE-LCHlch(32.58, 58.79, 294.87°)
OKLaboklab(42.82% -0.0019 -0.1537)
OKLCHoklch(42.82% 0.154 269.3)
XYZxyz(9.7588, 7.3462, 35.0791)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F44A2 #A28D2F
analogous
#2F7DA2 #2F44A2 #532FA2
triadic
#2F44A2 #A22F44 #44A22F
tetradic
#2F44A2 #A22F7D #A28D2F #2FA253
square
#2F44A2 #A22F7D #A28D2F #2FA253
split-complementary
#2F44A2 #A2532F #7DA22F
monochromatic
#131C43 #213073 #2F44A2 #455DC9 #7587D7

Accessibility & contrast

On white

8.50
#2F44A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F44A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F44A2
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F44A2#FFFFFF#000000##FFFFFF
##2F44A21.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f44a2;
/* rgb */ color: rgb(47, 68, 162);
/* oklch */ color: oklch(42.8% 0.154 269.3);
Tailwind
colors: {
  custom: {
    50: '#7777be',
    500: '#2f44a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f44a2;
$custom-light: #7777be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f44a2",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 162
  },
  "hsl": {
    "h": 229.043,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42824,
    "c": 0.15373,
    "h": 269.3
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#2F44A2
secondary
#BFB06E
accent
#C349DE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F44A2

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

Preview Lab → · Contrast checker → · Palette generator →

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