#2F3FB6#2F3FB6

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

Color values

HEX#2F3FB6
RGBrgb(47, 63, 182)
HSLhsl(233, 59%, 45%)
HSVhsv(233, 74%, 71%)
CMYKcmyk(74.2%, 65.4%, 0%, 28.6%)
CIE-LABlab(33.00, 35.32, -64.61)
CIE-LCHlch(33.00, 73.63, 298.66°)
OKLaboklab(43.65% 0.0013 -0.1868)
OKLCHoklch(43.65% 0.187 270.4)
XYZxyz(11.3904, 7.5356, 45.1011)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FB6 #B6A62F
analogous
#2F82B6 #2F3FB6 #632FB6
triadic
#2F3FB6 #B62F3F #3FB62F
tetradic
#2F3FB6 #B62F82 #B6A62F #2FB663
square
#2F3FB6 #B62F82 #B6A62F #2FB663
split-complementary
#2F3FB6 #B6632F #82B62F
monochromatic
#161D55 #222E85 #2F3FB6 #5060D2 #818CDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3FB6#FFFFFF#000000##FFFFFF
##2F3FB61.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)
#0054BA
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f3fb6;
/* rgb */ color: rgb(47, 63, 182);
/* oklch */ color: oklch(43.7% 0.187 270.4);
Tailwind
colors: {
  custom: {
    50: '#7c74cd',
    500: '#2f3fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fb6;
$custom-light: #7c74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fb6",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 232.889,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.18682,
    "h": 270.4
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#2F3FB6
secondary
#C7BE79
accent
#D046E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2F3FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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