#2F3A92#2F3A92

#2F3A92 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.144 H 272.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2F3A92
RGBrgb(47, 58, 146)
HSLhsl(233, 51%, 38%)
HSVhsv(233, 68%, 57%)
CMYKcmyk(67.8%, 60.3%, 0%, 42.7%)
CIE-LABlab(28.66, 25.46, -50.00)
CIE-LCHlch(28.66, 56.11, 296.99°)
OKLaboklab(39.5% 0.0064 -0.144)
OKLCHoklch(39.5% 0.144 272.5)
XYZxyz(7.8719, 5.7051, 27.8749)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A92 #92872F
analogous
#2F6C92 #2F3A92 #552F92
triadic
#2F3A92 #922F3A #3A922F
tetradic
#2F3A92 #922F6C #92872F #2F9255
square
#2F3A92 #922F6C #92872F #2F9255
split-complementary
#2F3A92 #92552F #6C922F
monochromatic
#111535 #202864 #2F3A92 #3E4CC0 #6C77D0

Accessibility & contrast

On white

9.81
#2F3A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2F3A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3A92
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A92#FFFFFF#000000##FFFFFF
##2F3A921.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f3a92;
/* rgb */ color: rgb(47, 58, 146);
/* oklch */ color: oklch(39.5% 0.144 272.5);
Tailwind
colors: {
  custom: {
    50: '#7470b3',
    500: '#2f3a92',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a92;
$custom-light: #7470b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a92",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 233.333,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39498,
    "c": 0.14415,
    "h": 272.5
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#2F3A92
secondary
#B7AE66
accent
#CB4DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3A92

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

Preview Lab → · Contrast checker → · Palette generator →

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