#2F3EB2#2F3EB2

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

Color values

HEX#2F3EB2
RGBrgb(47, 62, 178)
HSLhsl(233, 58%, 44%)
HSVhsv(233, 74%, 70%)
CMYKcmyk(73.6%, 65.2%, 0%, 30.2%)
CIE-LABlab(32.40, 34.52, -63.22)
CIE-LCHlch(32.40, 72.03, 298.64°)
OKLaboklab(43.1% 0.0022 -0.1827)
OKLCHoklch(43.1% 0.183 270.7)
XYZxyz(10.9281, 7.2628, 42.9368)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3EB2 #B2A32F
analogous
#2F80B2 #2F3EB2 #622FB2
triadic
#2F3EB2 #B22F3E #3EB22F
tetradic
#2F3EB2 #B22F80 #B2A32F #2FB262
square
#2F3EB2 #B22F80 #B2A32F #2FB262
split-complementary
#2F3EB2 #B2622F #80B22F
monochromatic
#151C51 #222D82 #2F3EB2 #4E5DD0 #7E89DD

Accessibility & contrast

On white

8.56
#2F3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2F3EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3EB2
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3EB2#FFFFFF#000000##FFFFFF
##2F3EB21.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f3eb2;
/* rgb */ color: rgb(47, 62, 178);
/* oklch */ color: oklch(43.1% 0.183 270.7);
Tailwind
colors: {
  custom: {
    50: '#7b73ca',
    500: '#2f3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f3eb2;
$custom-light: #7b73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3eb2",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 233.13,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43104,
    "c": 0.18276,
    "h": 270.7
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#2F3EB2
secondary
#C6BD77
accent
#D046E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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