#2F5ABC#2F5ABC

#2F5ABC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.162 H 263.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2F5ABC
RGBrgb(47, 90, 188)
HSLhsl(222, 60%, 46%)
HSVhsv(222, 75%, 74%)
CMYKcmyk(75%, 52.1%, 0%, 26.3%)
CIE-LABlab(40.49, 19.97, -55.94)
CIE-LCHlch(40.49, 59.40, 289.65°)
OKLaboklab(49.39% -0.0178 -0.161)
OKLCHoklch(49.39% 0.162 263.7)
XYZxyz(13.9023, 11.5460, 49.0631)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5ABC #BC912F
analogous
#2FA0BC #2F5ABC #4A2FBC
triadic
#2F5ABC #BC2F5A #5ABC2F
tetradic
#2F5ABC #BC2FA0 #BC912F #2FBC4A
square
#2F5ABC #BC2FA0 #BC912F #2FBC4A
split-complementary
#2F5ABC #BC4A2F #A0BC2F
monochromatic
#172B5A #23438B #2F5ABC #547BD4 #85A1E0

Accessibility & contrast

On white

6.35
#2F5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2F5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5ABC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5ABC#FFFFFF#000000##FFFFFF
##2F5ABC1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866BF
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f5abc;
/* rgb */ color: rgb(47, 90, 188);
/* oklch */ color: oklch(49.4% 0.162 263.7);
Tailwind
colors: {
  custom: {
    50: '#7b88d1',
    500: '#2f5abc',
    950: '#000000',
  },
}
SCSS
$custom: #2f5abc;
$custom-light: #7b88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5abc",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 221.702,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49393,
    "c": 0.16199,
    "h": 263.7
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#2F5ABC
secondary
#CAB27D
accent
#B345E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2F5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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