#2F3A67#2F3A67

#2F3A67 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.079 H 271.6°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2F3A67
RGBrgb(47, 58, 103)
HSLhsl(228, 37%, 29%)
HSVhsv(228, 54%, 40%)
CMYKcmyk(54.4%, 43.7%, 0%, 59.6%)
CIE-LABlab(25.59, 9.72, -27.89)
CIE-LCHlch(25.59, 29.54, 289.20°)
OKLaboklab(36.21% 0.0022 -0.079)
OKLCHoklch(36.21% 0.079 271.6)
XYZxyz(5.1327, 4.6094, 13.4486)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A67 #675C2F
analogous
#2F5667 #2F3A67 #402F67
triadic
#2F3A67 #672F3A #3A672F
tetradic
#2F3A67 #672F56 #675C2F #2F6740
square
#2F3A67 #672F56 #675C2F #2F6740
split-complementary
#2F3A67 #67402F #56672F
monochromatic
#0A0C15 #1C223D #2F3A67 #425291 #5C6DB5

Accessibility & contrast

On white

10.93
#2F3A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F3A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3A67
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A67#FFFFFF#000000##FFFFFF
##2F3A671.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283F69
Deuteranopia (green-blind)
#223A66
Tritanopia (blue-blind)
#16444B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f3a67;
/* rgb */ color: rgb(47, 58, 103);
/* oklch */ color: oklch(36.2% 0.079 271.6);
Tailwind
colors: {
  custom: {
    50: '#6c6f92',
    500: '#2f3a67',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a67;
$custom-light: #6c6f92;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a67",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 103
  },
  "hsl": {
    "h": 228.214,
    "s": 37.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36209,
    "c": 0.07907,
    "h": 271.6
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

primary
#2F3A67
secondary
#988C59
accent
#B75ACD
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2F3A67

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

Preview Lab → · Contrast checker → · Palette generator →

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