#2F43B9#2F43B9

#2F43B9 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.6% C 0.186 H 269.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2F43B9
RGBrgb(47, 67, 185)
HSLhsl(231, 59%, 45%)
HSVhsv(231, 75%, 73%)
CMYKcmyk(74.6%, 63.8%, 0%, 27.5%)
CIE-LABlab(34.23, 33.85, -64.36)
CIE-LCHlch(34.23, 72.72, 297.74°)
OKLaboklab(44.64% -0.0013 -0.186)
OKLCHoklch(44.64% 0.186 269.6)
XYZxyz(11.9334, 8.1202, 46.8280)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43B9 #B9A52F
analogous
#2F88B9 #2F43B9 #602FB9
triadic
#2F43B9 #B92F43 #43B92F
tetradic
#2F43B9 #B92F88 #B9A52F #2FB960
square
#2F43B9 #B92F88 #B9A52F #2FB960
split-complementary
#2F43B9 #B9602F #88B92F
monochromatic
#162057 #233188 #2F43B9 #5265D3 #8390DF

Accessibility & contrast

On white

8.00
#2F43B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2F43B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F43B9
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43B9#FFFFFF#000000##FFFFFF
##2F43B91.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f43b9;
/* rgb */ color: rgb(47, 67, 185);
/* oklch */ color: oklch(44.6% 0.186 269.6);
Tailwind
colors: {
  custom: {
    50: '#7c77cf',
    500: '#2f43b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f43b9;
$custom-light: #7c77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43b9",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 185
  },
  "hsl": {
    "h": 231.304,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44639,
    "c": 0.18605,
    "h": 269.6
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#2F43B9
secondary
#C9BD7B
accent
#CC45E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2F43B9

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

Preview Lab → · Contrast checker → · Palette generator →

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