#0F2D56#0F2D56

#0F2D56 is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 30.0% C 0.082 H 257.2°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#0F2D56
RGBrgb(15, 45, 86)
HSLhsl(215, 70%, 20%)
HSVhsv(215, 83%, 34%)
CMYKcmyk(82.6%, 47.7%, 0%, 66.3%)
CIE-LABlab(18.58, 5.62, -28.03)
CIE-LCHlch(18.58, 28.58, 281.34°)
OKLaboklab(29.97% -0.0183 -0.0803)
OKLCHoklch(29.97% 0.082 257.2)
XYZxyz(2.8145, 2.6499, 9.1654)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D56 #56380F
analogous
#0F5156 #0F2D56 #150F56
triadic
#0F2D56 #560F2D #2D560F
tetradic
#0F2D56 #560F51 #56380F #0F5615
square
#0F2D56 #560F51 #56380F #0F5615
split-complementary
#0F2D56 #56150F #51560F
monochromatic
#050E1A #061222 #0F2D56 #18488A #2164BE

Accessibility & contrast

On white

13.73
#0F2D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0F2D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D56
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D56#FFFFFF#000000##FFFFFF
##0F2D561.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183158
Deuteranopia (green-blind)
#0A2A55
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2d56;
/* rgb */ color: rgb(15, 45, 86);
/* oklch */ color: oklch(30.0% 0.082 257.2);
Tailwind
colors: {
  custom: {
    50: '#596586',
    500: '#0f2d56',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d56;
$custom-light: #596586;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d56",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 214.648,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29971,
    "c": 0.08232,
    "h": 257.2
  },
  "luminance": 0.0265
}

Semantic roles & 50–950 ramp

primary
#0F2D56
secondary
#906831
accent
#A23BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0F2D56

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

Preview Lab → · Contrast checker → · Palette generator →

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