#2F348F#2F348F

#2F348F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.148 H 274.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2F348F
RGBrgb(47, 52, 143)
HSLhsl(237, 51%, 37%)
HSVhsv(237, 67%, 56%)
CMYKcmyk(67.1%, 63.6%, 0%, 43.9%)
CIE-LABlab(26.86, 28.36, -51.09)
CIE-LCHlch(26.86, 58.43, 299.04°)
OKLaboklab(38.09% 0.0117 -0.1472)
OKLCHoklch(38.09% 0.148 274.5)
XYZxyz(7.3566, 5.0428, 26.5670)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F348F #8F8A2F
analogous
#2F648F #2F348F #5A2F8F
triadic
#2F348F #8F2F34 #348F2F
tetradic
#2F348F #8F2F64 #8F8A2F #2F8F5A
square
#2F348F #8F2F64 #8F8A2F #2F8F5A
split-complementary
#2F348F #8F5A2F #648F2F
monochromatic
#111333 #202361 #2F348F #3E45BD #6A6FCE

Accessibility & contrast

On white

10.46
#2F348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F348F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F348F#FFFFFF#000000##FFFFFF
##2F348F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f348f;
/* rgb */ color: rgb(47, 52, 143);
/* oklch */ color: oklch(38.1% 0.148 274.5);
Tailwind
colors: {
  custom: {
    50: '#746bb1',
    500: '#2f348f',
    950: '#000000',
  },
}
SCSS
$custom: #2f348f;
$custom-light: #746bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f348f",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 236.875,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3809,
    "c": 0.14771,
    "h": 274.5
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#2F348F
secondary
#B5B165
accent
#D34EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F348F

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

Preview Lab → · Contrast checker → · Palette generator →

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