#2F3B94#2F3B94

#2F3B94 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.146 H 272.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2F3B94
RGBrgb(47, 59, 148)
HSLhsl(233, 52%, 38%)
HSVhsv(233, 68%, 58%)
CMYKcmyk(68.2%, 60.1%, 0%, 42%)
CIE-LABlab(29.08, 25.53, -50.54)
CIE-LCHlch(29.08, 56.62, 296.81°)
OKLaboklab(39.86% 0.0055 -0.1456)
OKLCHoklch(39.86% 0.146 272.2)
XYZxyz(8.0798, 5.8696, 28.7184)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B94 #94882F
analogous
#2F6D94 #2F3B94 #552F94
triadic
#2F3B94 #942F3B #3B942F
tetradic
#2F3B94 #942F6D #94882F #2F9455
square
#2F3B94 #942F6D #94882F #2F9455
split-complementary
#2F3B94 #94552F #6D942F
monochromatic
#111637 #202866 #2F3B94 #3E4EC2 #6D79D1

Accessibility & contrast

On white

9.66
#2F3B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2F3B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3B94
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B94#FFFFFF#000000##FFFFFF
##2F3B941.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f3b94;
/* rgb */ color: rgb(47, 59, 148);
/* oklch */ color: oklch(39.9% 0.146 272.2);
Tailwind
colors: {
  custom: {
    50: '#7470b4',
    500: '#2f3b94',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b94;
$custom-light: #7470b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b94",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 148
  },
  "hsl": {
    "h": 232.871,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39864,
    "c": 0.14567,
    "h": 272.2
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#2F3B94
secondary
#B8AE67
accent
#CA4DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3B94

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

Preview Lab → · Contrast checker → · Palette generator →

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