#2F3EB3#2F3EB3

#2F3EB3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.184 H 270.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2F3EB3
RGBrgb(47, 62, 179)
HSLhsl(233, 58%, 44%)
HSVhsv(233, 74%, 70%)
CMYKcmyk(73.7%, 65.4%, 0%, 29.8%)
CIE-LABlab(32.49, 34.88, -63.67)
CIE-LCHlch(32.49, 72.59, 298.72°)
OKLaboklab(43.2% 0.0022 -0.1841)
OKLCHoklch(43.2% 0.184 270.7)
XYZxyz(11.0288, 7.3031, 43.4675)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3EB3 #B3A42F
analogous
#2F80B3 #2F3EB3 #622FB3
triadic
#2F3EB3 #B32F3E #3EB32F
tetradic
#2F3EB3 #B32F80 #B3A42F #2FB362
square
#2F3EB3 #B32F80 #B3A42F #2FB362
split-complementary
#2F3EB3 #B3622F #80B32F
monochromatic
#161C52 #222D83 #2F3EB3 #4F5DD1 #7F8ADD

Accessibility & contrast

On white

8.53
#2F3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F3EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3EB3
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3EB3#FFFFFF#000000##FFFFFF
##2F3EB31.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f3eb3;
/* rgb */ color: rgb(47, 62, 179);
/* oklch */ color: oklch(43.2% 0.184 270.7);
Tailwind
colors: {
  custom: {
    50: '#7b73cb',
    500: '#2f3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f3eb3;
$custom-light: #7b73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3eb3",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 233.182,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43197,
    "c": 0.18407,
    "h": 270.7
  },
  "luminance": 0.07304
}

Semantic roles & 50–950 ramp

primary
#2F3EB3
secondary
#C6BD78
accent
#D046E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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