#2F3B63#2F3B63

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

Color values

HEX#2F3B63
RGBrgb(47, 59, 99)
HSLhsl(226, 36%, 29%)
HSVhsv(226, 53%, 39%)
CMYKcmyk(52.5%, 40.4%, 0%, 61.2%)
CIE-LABlab(25.66, 7.62, -25.20)
CIE-LCHlch(25.66, 26.32, 286.82°)
OKLaboklab(36.19% -0.0001 -0.0712)
OKLCHoklch(36.19% 0.071 269.9)
XYZxyz(4.9877, 4.6328, 12.4334)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B63 #63572F
analogous
#2F5563 #2F3B63 #3D2F63
triadic
#2F3B63 #632F3B #3B632F
tetradic
#2F3B63 #632F55 #63572F #2F633D
square
#2F3B63 #632F55 #63572F #2F633D
split-complementary
#2F3B63 #633D2F #55632F
monochromatic
#0A0C15 #1B2239 #2F3B63 #43548C #5B6FB1

Accessibility & contrast

On white

10.90
#2F3B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F3B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3B63
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B63#FFFFFF#000000##FFFFFF
##2F3B631.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3F65
Deuteranopia (green-blind)
#263B62
Tritanopia (blue-blind)
#1A434A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f3b63;
/* rgb */ color: rgb(47, 59, 99);
/* oklch */ color: oklch(36.2% 0.071 269.9);
Tailwind
colors: {
  custom: {
    50: '#6b708f',
    500: '#2f3b63',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b63;
$custom-light: #6b708f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b63",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 99
  },
  "hsl": {
    "h": 226.154,
    "s": 35.616,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36186,
    "c": 0.07116,
    "h": 269.9
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#2F3B63
secondary
#958759
accent
#B25CCC
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07070C
muted
#7A7A7D

Preview Lab

Preview with #2F3B63

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

Preview Lab → · Contrast checker → · Palette generator →

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