#2F55AF#2F55AF

#2F55AF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.150 H 264.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2F55AF
RGBrgb(47, 85, 175)
HSLhsl(222, 58%, 44%)
HSVhsv(222, 73%, 69%)
CMYKcmyk(73.1%, 51.4%, 0%, 31.4%)
CIE-LABlab(38.19, 18.33, -52.01)
CIE-LCHlch(38.19, 55.15, 289.42°)
OKLaboklab(47.36% -0.0151 -0.1495)
OKLCHoklch(47.36% 0.15 264.2)
XYZxyz(12.1559, 10.1952, 41.8764)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F55AF #AF892F
analogous
#2F95AF #2F55AF #492FAF
triadic
#2F55AF #AF2F55 #55AF2F
tetradic
#2F55AF #AF2F95 #AF892F #2FAF49
square
#2F55AF #AF2F95 #AF892F #2FAF49
split-complementary
#2F55AF #AF492F #95AF2F
monochromatic
#15264F #223E7F #2F55AF #4C73CF #7C99DC

Accessibility & contrast

On white

6.91
#2F55AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2F55AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F55AF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F55AF#FFFFFF#000000##FFFFFF
##2F55AF1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f55af;
/* rgb */ color: rgb(47, 85, 175);
/* oklch */ color: oklch(47.4% 0.150 264.2);
Tailwind
colors: {
  custom: {
    50: '#7984c7',
    500: '#2f55af',
    950: '#000000',
  },
}
SCSS
$custom: #2f55af;
$custom-light: #7984c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f55af",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 222.188,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47359,
    "c": 0.1503,
    "h": 264.2
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#2F55AF
secondary
#C4AD75
accent
#B347E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F55AF

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

Preview Lab → · Contrast checker → · Palette generator →

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