#2F4093#2F4093

#2F4093 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.138 H 270.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2F4093
RGBrgb(47, 64, 147)
HSLhsl(230, 52%, 38%)
HSVhsv(230, 68%, 58%)
CMYKcmyk(68%, 56.5%, 0%, 42.4%)
CIE-LABlab(30.34, 21.80, -47.87)
CIE-LCHlch(30.34, 52.60, 294.49°)
OKLaboklab(40.78% 0.001 -0.1377)
OKLCHoklch(40.78% 0.138 270.4)
XYZxyz(8.2704, 6.3769, 28.3931)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4093 #93822F
analogous
#2F7293 #2F4093 #502F93
triadic
#2F4093 #932F40 #40932F
tetradic
#2F4093 #932F72 #93822F #2F9350
square
#2F4093 #932F72 #93822F #2F9350
split-complementary
#2F4093 #93502F #72932F
monochromatic
#111836 #202C65 #2F4093 #3E54C1 #6C7DD0

Accessibility & contrast

On white

9.23
#2F4093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2F4093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4093
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4093#FFFFFF#000000##FFFFFF
##2F40931.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4093;
/* rgb */ color: rgb(47, 64, 147);
/* oklch */ color: oklch(40.8% 0.138 270.4);
Tailwind
colors: {
  custom: {
    50: '#7474b3',
    500: '#2f4093',
    950: '#000000',
  },
}
SCSS
$custom: #2f4093;
$custom-light: #7474b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4093",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 147
  },
  "hsl": {
    "h": 229.8,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40783,
    "c": 0.13768,
    "h": 270.4
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#2F4093
secondary
#B7AA66
accent
#C34DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4093

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

Preview Lab → · Contrast checker → · Palette generator →

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