#0F4272#0F4272

#0F4272 is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.4% C 0.097 H 251.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#0F4272
RGBrgb(15, 66, 114)
HSLhsl(209, 77%, 25%)
HSVhsv(209, 87%, 45%)
CMYKcmyk(86.8%, 42.1%, 0%, 55.3%)
CIE-LABlab(27.33, 2.81, -32.24)
CIE-LCHlch(27.33, 32.36, 274.99°)
OKLaboklab(37.38% -0.0311 -0.0922)
OKLCHoklch(37.38% 0.097 251.3)
XYZxyz(5.1813, 5.2122, 16.6493)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4272 #723F0F
analogous
#0F7270 #0F4272 #0F1072
triadic
#0F4272 #720F42 #42720F
tetradic
#0F4272 #700F72 #723F0F #10720F
square
#0F4272 #700F72 #723F0F #10720F
split-complementary
#0F4272 #720F10 #72700F
monochromatic
#04101B #08233C #0F4272 #1661A8 #1D81DE

Accessibility & contrast

On white

10.28
#0F4272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#0F4272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4272
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4272#FFFFFF#000000##FFFFFF
##0F42721.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#1A3D71
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0f4272;
/* rgb */ color: rgb(15, 66, 114);
/* oklch */ color: oklch(37.4% 0.097 251.3);
Tailwind
colors: {
  custom: {
    50: '#60759b',
    500: '#0f4272',
    950: '#000000',
  },
}
SCSS
$custom: #0f4272;
$custom-light: #60759b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4272",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 114
  },
  "hsl": {
    "h": 209.091,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37379,
    "c": 0.09733,
    "h": 251.3
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#0F4272
secondary
#AA6D33
accent
#9135F3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #0F4272

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

Preview Lab → · Contrast checker → · Palette generator →

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