#2F4293#2F4293

#2F4293 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.135 H 269.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2F4293
RGBrgb(47, 66, 147)
HSLhsl(229, 52%, 38%)
HSVhsv(229, 68%, 58%)
CMYKcmyk(68%, 55.1%, 0%, 42.4%)
CIE-LABlab(30.89, 20.46, -46.98)
CIE-LCHlch(30.89, 51.24, 293.53°)
OKLaboklab(41.2% -0.0009 -0.135)
OKLCHoklch(41.2% 0.135 269.6)
XYZxyz(8.3852, 6.6066, 28.4314)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4293 #93802F
analogous
#2F7493 #2F4293 #4E2F93
triadic
#2F4293 #932F42 #42932F
tetradic
#2F4293 #932F74 #93802F #2F934E
square
#2F4293 #932F74 #93802F #2F934E
split-complementary
#2F4293 #934E2F #74932F
monochromatic
#111836 #202D65 #2F4293 #3E57C1 #6C7FD0

Accessibility & contrast

On white

9.05
#2F4293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F4293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4293
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4293#FFFFFF#000000##FFFFFF
##2F42931.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064D96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f4293;
/* rgb */ color: rgb(47, 66, 147);
/* oklch */ color: oklch(41.2% 0.135 269.6);
Tailwind
colors: {
  custom: {
    50: '#7476b3',
    500: '#2f4293',
    950: '#000000',
  },
}
SCSS
$custom: #2f4293;
$custom-light: #7476b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4293",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 228.6,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41196,
    "c": 0.13503,
    "h": 269.6
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#2F4293
secondary
#B7A866
accent
#C04DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4293

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

Preview Lab → · Contrast checker → · Palette generator →

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