#0F56B2#0F56B2

#0F56B2 is a mid, vivid cyan. Relative luminance 0.100; OKLCH L 46.9% C 0.161 H 257.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#0F56B2
RGBrgb(15, 86, 178)
HSLhsl(214, 84%, 38%)
HSVhsv(214, 92%, 70%)
CMYKcmyk(91.6%, 51.7%, 0%, 30.2%)
CIE-LABlab(37.79, 15.87, -54.48)
CIE-LCHlch(37.79, 56.74, 286.24°)
OKLaboklab(46.87% -0.0339 -0.1572)
OKLCHoklch(46.87% 0.161 257.8)
XYZxyz(11.5577, 9.9700, 43.4261)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F56B2 #B26B0F
analogous
#0FA7B2 #0F56B2 #190FB2
triadic
#0F56B2 #B20F56 #56B20F
tetradic
#0F56B2 #B20FA7 #B26B0F #0FB219
square
#0F56B2 #B20FA7 #B26B0F #0FB219
split-complementary
#0F56B2 #B2190F #A7B20F
monochromatic
#051F41 #0A3B7A #0F56B2 #1471EA #4C93F0

Accessibility & contrast

On white

7.01
#0F56B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#0F56B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F56B2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F56B2#FFFFFF#000000##FFFFFF
##0F56B21.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B5
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #0f56b2;
/* rgb */ color: rgb(15, 86, 178);
/* oklch */ color: oklch(46.9% 0.161 257.8);
Tailwind
colors: {
  custom: {
    50: '#7184ca',
    500: '#0f56b2',
    950: '#000000',
  },
}
SCSS
$custom: #0f56b2;
$custom-light: #7184ca;
$custom-dark: #000000;
JSON
{
  "hex": "#0f56b2",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 213.865,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46866,
    "c": 0.16078,
    "h": 257.8
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#0F56B2
secondary
#D1974C
accent
#A12DFB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #0F56B2

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

Preview Lab → · Contrast checker → · Palette generator →

#0F56B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva