#2F44A5#2F44A5

#2F44A5 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.158 H 269.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2F44A5
RGBrgb(47, 68, 165)
HSLhsl(229, 56%, 42%)
HSVhsv(229, 72%, 65%)
CMYKcmyk(71.5%, 58.8%, 0%, 35.3%)
CIE-LABlab(32.82, 25.84, -54.76)
CIE-LCHlch(32.82, 60.55, 295.26°)
OKLaboklab(43.08% -0.0018 -0.1579)
OKLCHoklch(43.08% 0.158 269.3)
XYZxyz(10.0286, 7.4542, 36.5003)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F44A5 #A5902F
analogous
#2F7FA5 #2F44A5 #552FA5
triadic
#2F44A5 #A52F44 #44A52F
tetradic
#2F44A5 #A52F7F #A5902F #2FA555
square
#2F44A5 #A52F7F #A5902F #2FA555
split-complementary
#2F44A5 #A5552F #7FA52F
monochromatic
#141D46 #213075 #2F44A5 #475ECB #7688D8

Accessibility & contrast

On white

8.43
#2F44A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F44A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F44A5
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F44A5#FFFFFF#000000##FFFFFF
##2F44A51.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f44a5;
/* rgb */ color: rgb(47, 68, 165);
/* oklch */ color: oklch(43.1% 0.158 269.3);
Tailwind
colors: {
  custom: {
    50: '#7777c0',
    500: '#2f44a5',
    950: '#000000',
  },
}
SCSS
$custom: #2f44a5;
$custom-light: #7777c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f44a5",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 165
  },
  "hsl": {
    "h": 229.322,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43075,
    "c": 0.1579,
    "h": 269.3
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#2F44A5
secondary
#C0B270
accent
#C449DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F44A5

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

Preview Lab → · Contrast checker → · Palette generator →

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