#2F347A#2F347A

#2F347A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.3% C 0.117 H 275.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2F347A
RGBrgb(47, 52, 122)
HSLhsl(236, 44%, 33%)
HSVhsv(236, 61%, 48%)
CMYKcmyk(61.5%, 57.4%, 0%, 52.2%)
CIE-LABlab(25.15, 20.73, -40.73)
CIE-LCHlch(25.15, 45.70, 296.97°)
OKLaboklab(36.29% 0.0118 -0.1168)
OKLCHoklch(36.29% 0.117 275.8)
XYZxyz(5.9120, 4.4650, 18.9589)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F347A #7A752F
analogous
#2F597A #2F347A #4F2F7A
triadic
#2F347A #7A2F34 #347A2F
tetradic
#2F347A #7A2F59 #7A752F #2F7A4F
square
#2F347A #7A2F59 #7A752F #2F7A4F
split-complementary
#2F347A #7A4F2F #597A2F
monochromatic
#0D0E22 #1E214E #2F347A #4047A6 #6168C2

Accessibility & contrast

On white

11.09
#2F347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2F347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F347A
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F347A#FFFFFF#000000##FFFFFF
##2F347A1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023F7C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f347a;
/* rgb */ color: rgb(47, 52, 122);
/* oklch */ color: oklch(36.3% 0.117 275.8);
Tailwind
colors: {
  custom: {
    50: '#6f6ba1',
    500: '#2f347a',
    950: '#000000',
  },
}
SCSS
$custom: #2f347a;
$custom-light: #6f6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f347a",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 236,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36293,
    "c": 0.11741,
    "h": 275.8
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#2F347A
secondary
#A9A45C
accent
#CC54D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F347A

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

Preview Lab → · Contrast checker → · Palette generator →

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