#2F4092#2F4092

#2F4092 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.136 H 270.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2F4092
RGBrgb(47, 64, 146)
HSLhsl(230, 51%, 38%)
HSVhsv(230, 68%, 57%)
CMYKcmyk(67.8%, 56.2%, 0%, 42.7%)
CIE-LABlab(30.27, 21.43, -47.38)
CIE-LCHlch(30.27, 52.00, 294.34°)
OKLaboklab(40.7% 0.0009 -0.1362)
OKLCHoklch(40.7% 0.136 270.4)
XYZxyz(8.1922, 6.3457, 27.9817)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4092 #92812F
analogous
#2F7192 #2F4092 #4F2F92
triadic
#2F4092 #922F40 #40922F
tetradic
#2F4092 #922F71 #92812F #2F924F
square
#2F4092 #922F71 #92812F #2F924F
split-complementary
#2F4092 #924F2F #71922F
monochromatic
#111735 #202C64 #2F4092 #3E54C0 #6C7DD0

Accessibility & contrast

On white

9.25
#2F4092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2F4092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4092
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4092#FFFFFF#000000##FFFFFF
##2F40921.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4092;
/* rgb */ color: rgb(47, 64, 146);
/* oklch */ color: oklch(40.7% 0.136 270.4);
Tailwind
colors: {
  custom: {
    50: '#7474b3',
    500: '#2f4092',
    950: '#000000',
  },
}
SCSS
$custom: #2f4092;
$custom-light: #7474b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4092",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 146
  },
  "hsl": {
    "h": 229.697,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40702,
    "c": 0.13624,
    "h": 270.4
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F4092

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

Preview Lab → · Contrast checker → · Palette generator →

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