#2F66BA#2F66BA

#2F66BA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 51.8% C 0.145 H 258.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2F66BA
RGBrgb(47, 102, 186)
HSLhsl(216, 60%, 46%)
HSVhsv(216, 75%, 73%)
CMYKcmyk(74.7%, 45.2%, 0%, 27.1%)
CIE-LABlab(43.73, 11.45, -49.55)
CIE-LCHlch(43.73, 50.86, 283.01°)
OKLaboklab(51.84% -0.0281 -0.142)
OKLCHoklch(51.84% 0.145 258.8)
XYZxyz(14.7834, 13.6506, 48.3006)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66BA #BA832F
analogous
#2FABBA #2F66BA #3D2FBA
triadic
#2F66BA #BA2F66 #66BA2F
tetradic
#2F66BA #BA2FAB #BA832F #2FBA3D
square
#2F66BA #BA2FAB #BA832F #2FBA3D
split-complementary
#2F66BA #BA3D2F #ABBA2F
monochromatic
#163058 #234B89 #2F66BA #5386D3 #84A8E0

Accessibility & contrast

On white

5.63
#2F66BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2F66BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66BA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66BA#FFFFFF#000000##FFFFFF
##2F66BA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f66ba;
/* rgb */ color: rgb(47, 102, 186);
/* oklch */ color: oklch(51.8% 0.145 258.8);
Tailwind
colors: {
  custom: {
    50: '#7a91cf',
    500: '#2f66ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f66ba;
$custom-light: #7a91cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66ba",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 186
  },
  "hsl": {
    "h": 216.259,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.14474,
    "h": 258.8
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#2F66BA
secondary
#C9AA7C
accent
#A445E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F66BA

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

Preview Lab → · Contrast checker → · Palette generator →

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