#2F5893#2F5893

#2F5893 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.1% C 0.107 H 257.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2F5893
RGBrgb(47, 88, 147)
HSLhsl(215, 52%, 38%)
HSVhsv(215, 68%, 58%)
CMYKcmyk(68%, 40.1%, 0%, 42.4%)
CIE-LABlab(37.28, 5.81, -36.74)
CIE-LCHlch(37.28, 37.19, 278.99°)
OKLaboklab(46.09% -0.0229 -0.1046)
OKLCHoklch(46.09% 0.107 257.6)
XYZxyz(9.9266, 9.6894, 28.9452)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5893 #936A2F
analogous
#2F8A93 #2F5893 #382F93
triadic
#2F5893 #932F58 #58932F
tetradic
#2F5893 #932F8A #936A2F #2F9338
square
#2F5893 #932F8A #936A2F #2F9338
split-complementary
#2F5893 #93382F #8A932F
monochromatic
#112036 #203C65 #2F5893 #3E74C1 #6C95D0

Accessibility & contrast

On white

7.15
#2F5893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2F5893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5893
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5893#FFFFFF#000000##FFFFFF
##2F58931.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5D95
Deuteranopia (green-blind)
#2F5392
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f5893;
/* rgb */ color: rgb(47, 88, 147);
/* oklch */ color: oklch(46.1% 0.107 257.6);
Tailwind
colors: {
  custom: {
    50: '#7386b3',
    500: '#2f5893',
    950: '#000000',
  },
}
SCSS
$custom: #2f5893;
$custom-light: #7386b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5893",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 147
  },
  "hsl": {
    "h": 215.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46085,
    "c": 0.10706,
    "h": 257.6
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

primary
#2F5893
secondary
#B79666
accent
#A14DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5893

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

Preview Lab → · Contrast checker → · Palette generator →

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