#2F3EA9#2F3EA9

#2F3EA9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.171 H 270.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2F3EA9
RGBrgb(47, 62, 169)
HSLhsl(233, 56%, 42%)
HSVhsv(233, 72%, 66%)
CMYKcmyk(72.2%, 63.3%, 0%, 33.7%)
CIE-LABlab(31.61, 31.26, -59.14)
CIE-LCHlch(31.61, 66.89, 297.86°)
OKLaboklab(42.28% 0.0027 -0.1708)
OKLCHoklch(42.28% 0.171 270.9)
XYZxyz(10.0539, 6.9131, 38.3329)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3EA9 #A99A2F
analogous
#2F7BA9 #2F3EA9 #5D2FA9
triadic
#2F3EA9 #A92F3E #3EA92F
tetradic
#2F3EA9 #A92F7B #A99A2F #2FA95D
square
#2F3EA9 #A92F7B #A99A2F #2FA95D
split-complementary
#2F3EA9 #A95D2F #7BA92F
monochromatic
#141B49 #222C79 #2F3EA9 #4959CC #7985DA

Accessibility & contrast

On white

8.81
#2F3EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2F3EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3EA9
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3EA9#FFFFFF#000000##FFFFFF
##2F3EA91.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f3ea9;
/* rgb */ color: rgb(47, 62, 169);
/* oklch */ color: oklch(42.3% 0.171 270.9);
Tailwind
colors: {
  custom: {
    50: '#7973c3',
    500: '#2f3ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2f3ea9;
$custom-light: #7973c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3ea9",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 232.623,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42281,
    "c": 0.17081,
    "h": 270.9
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#2F3EA9
secondary
#C2B872
accent
#CD48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2F3EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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