#2F3ABC#2F3ABC

#2F3ABC is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.4% C 0.200 H 271.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2F3ABC
RGBrgb(47, 58, 188)
HSLhsl(235, 60%, 46%)
HSVhsv(235, 75%, 74%)
CMYKcmyk(75%, 69.1%, 0%, 26.3%)
CIE-LABlab(32.39, 40.56, -69.15)
CIE-LCHlch(32.39, 80.17, 300.39°)
OKLaboklab(43.38% 0.0037 -0.2001)
OKLCHoklch(43.38% 0.2 271.1)
XYZxyz(11.7594, 7.2600, 48.3488)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3ABC #BCB12F
analogous
#2F80BC #2F3ABC #6A2FBC
triadic
#2F3ABC #BC2F3A #3ABC2F
tetradic
#2F3ABC #BC2F80 #BCB12F #2FBC6A
square
#2F3ABC #BC2F80 #BCB12F #2FBC6A
split-complementary
#2F3ABC #BC6A2F #80BC2F
monochromatic
#171C5A #232B8B #2F3ABC #545ED4 #858CE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3ABC#FFFFFF#000000##FFFFFF
##2F3ABC1.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)
#0053C0
Deuteranopia (green-blind)
#0045BA
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f3abc;
/* rgb */ color: rgb(47, 58, 188);
/* oklch */ color: oklch(43.4% 0.200 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e71d1',
    500: '#2f3abc',
    950: '#000000',
  },
}
SCSS
$custom: #2f3abc;
$custom-light: #7e71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3abc",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 235.319,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43381,
    "c": 0.20013,
    "h": 271.1
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#2F3ABC
secondary
#CAC47D
accent
#D745E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2F3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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