#0F2F57#0F2F57

#0F2F57 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.6% C 0.081 H 255.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#0F2F57
RGBrgb(15, 47, 87)
HSLhsl(213, 71%, 20%)
HSVhsv(213, 83%, 34%)
CMYKcmyk(82.8%, 46%, 0%, 65.9%)
CIE-LABlab(19.32, 4.60, -27.52)
CIE-LCHlch(19.32, 27.90, 279.49°)
OKLaboklab(30.56% -0.02 -0.0787)
OKLCHoklch(30.56% 0.081 255.7)
XYZxyz(2.9332, 2.8224, 9.4052)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F57 #57370F
analogous
#0F5357 #0F2F57 #130F57
triadic
#0F2F57 #570F2F #2F570F
tetradic
#0F2F57 #570F53 #57370F #0F5713
square
#0F2F57 #570F53 #57370F #0F5713
split-complementary
#0F2F57 #57130F #53570F
monochromatic
#050E1A #061323 #0F2F57 #184B8B #2167BF

Accessibility & contrast

On white

13.42
#0F2F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0F2F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F57
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F57#FFFFFF#000000##FFFFFF
##0F2F571.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3259
Deuteranopia (green-blind)
#0E2C56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2f57;
/* rgb */ color: rgb(15, 47, 87);
/* oklch */ color: oklch(30.6% 0.081 255.7);
Tailwind
colors: {
  custom: {
    50: '#5a6787',
    500: '#0f2f57',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f57;
$custom-light: #5a6787;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f57",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 213.333,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.30563,
    "c": 0.08124,
    "h": 255.7
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#0F2F57
secondary
#916631
accent
#9E3AED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F2F57

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

Preview Lab → · Contrast checker → · Palette generator →

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