#2F3375#2F3375

#2F3375 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.111 H 276.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2F3375
RGBrgb(47, 51, 117)
HSLhsl(237, 43%, 32%)
HSVhsv(237, 60%, 46%)
CMYKcmyk(59.8%, 56.4%, 0%, 54.1%)
CIE-LABlab(24.50, 19.60, -38.61)
CIE-LCHlch(24.50, 43.30, 296.91°)
OKLaboklab(35.69% 0.0127 -0.1106)
OKLCHoklch(35.69% 0.111 276.6)
XYZxyz(5.5660, 4.2559, 17.3544)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3375 #75712F
analogous
#2F5675 #2F3375 #4E2F75
triadic
#2F3375 #752F33 #33752F
tetradic
#2F3375 #752F56 #75712F #2F754E
square
#2F3375 #752F56 #75712F #2F754E
split-complementary
#2F3375 #754E2F #56752F
monochromatic
#0C0D1E #1D2049 #2F3375 #4146A1 #5F65BF

Accessibility & contrast

On white

11.34
#2F3375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2F3375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3375
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3375#FFFFFF#000000##FFFFFF
##2F33751.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D77
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#04424E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3375;
/* rgb */ color: rgb(47, 51, 117);
/* oklch */ color: oklch(35.7% 0.111 276.6);
Tailwind
colors: {
  custom: {
    50: '#6f6a9d',
    500: '#2f3375',
    950: '#000000',
  },
}
SCSS
$custom: #2f3375;
$custom-light: #6f6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3375",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 117
  },
  "hsl": {
    "h": 236.571,
    "s": 42.683,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35685,
    "c": 0.11131,
    "h": 276.6
  },
  "luminance": 0.04256
}

Semantic roles & 50–950 ramp

primary
#2F3375
secondary
#A6A25A
accent
#CB55D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2F3375

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

Preview Lab → · Contrast checker → · Palette generator →

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