#2F44A7#2F44A7

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

Color values

HEX#2F44A7
RGBrgb(47, 68, 167)
HSLhsl(230, 56%, 42%)
HSVhsv(230, 72%, 65%)
CMYKcmyk(71.9%, 59.3%, 0%, 34.5%)
CIE-LABlab(32.98, 26.58, -55.70)
CIE-LCHlch(32.98, 61.72, 295.51°)
OKLaboklab(43.24% -0.0018 -0.1606)
OKLCHoklch(43.24% 0.161 269.4)
XYZxyz(10.2121, 7.5276, 37.4665)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F44A7 #A7922F
analogous
#2F80A7 #2F44A7 #562FA7
triadic
#2F44A7 #A72F44 #44A72F
tetradic
#2F44A7 #A72F80 #A7922F #2FA756
square
#2F44A7 #A72F80 #A7922F #2FA756
split-complementary
#2F44A7 #A7562F #80A72F
monochromatic
#141D47 #223177 #2F44A7 #485FCB #7889D9

Accessibility & contrast

On white

8.38
#2F44A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F44A7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F44A7#FFFFFF#000000##FFFFFF
##2F44A71.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f44a7;
/* rgb */ color: rgb(47, 68, 167);
/* oklch */ color: oklch(43.2% 0.161 269.4);
Tailwind
colors: {
  custom: {
    50: '#7877c2',
    500: '#2f44a7',
    950: '#000000',
  },
}
SCSS
$custom: #2f44a7;
$custom-light: #7877c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f44a7",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 167
  },
  "hsl": {
    "h": 229.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43244,
    "c": 0.16066,
    "h": 269.4
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#2F44A7
secondary
#C1B371
accent
#C548DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F44A7

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

Preview Lab → · Contrast checker → · Palette generator →

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