#2F4193#2F4193

#2F4193 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.136 H 270.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2F4193
RGBrgb(47, 65, 147)
HSLhsl(229, 52%, 38%)
HSVhsv(229, 68%, 58%)
CMYKcmyk(68%, 55.8%, 0%, 42.4%)
CIE-LABlab(30.62, 21.13, -47.43)
CIE-LCHlch(30.62, 51.92, 294.01°)
OKLaboklab(40.99% 0.0001 -0.1364)
OKLCHoklch(40.99% 0.136 270)
XYZxyz(8.3273, 6.4907, 28.4121)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4193 #93812F
analogous
#2F7393 #2F4193 #4F2F93
triadic
#2F4193 #932F41 #41932F
tetradic
#2F4193 #932F73 #93812F #2F934F
square
#2F4193 #932F73 #93812F #2F934F
split-complementary
#2F4193 #934F2F #73932F
monochromatic
#111836 #202C65 #2F4193 #3E56C1 #6C7ED0

Accessibility & contrast

On white

9.14
#2F4193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F4193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4193
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4193#FFFFFF#000000##FFFFFF
##2F41931.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014D96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4193;
/* rgb */ color: rgb(47, 65, 147);
/* oklch */ color: oklch(41.0% 0.136 270.0);
Tailwind
colors: {
  custom: {
    50: '#7475b3',
    500: '#2f4193',
    950: '#000000',
  },
}
SCSS
$custom: #2f4193;
$custom-light: #7475b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4193",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 147
  },
  "hsl": {
    "h": 229.2,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40988,
    "c": 0.13636,
    "h": 270
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#2F4193
secondary
#B7A966
accent
#C14DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4193

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

Preview Lab → · Contrast checker → · Palette generator →

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