#0F4274#0F4274

#0F4274 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.5% C 0.100 H 252.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#0F4274
RGBrgb(15, 66, 116)
HSLhsl(210, 77%, 26%)
HSVhsv(210, 87%, 45%)
CMYKcmyk(87.1%, 43.1%, 0%, 54.5%)
CIE-LABlab(27.46, 3.66, -33.30)
CIE-LCHlch(27.46, 33.50, 276.27°)
OKLaboklab(37.52% -0.0306 -0.0953)
OKLCHoklch(37.52% 0.1 252.2)
XYZxyz(5.2964, 5.2583, 17.2554)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4274 #74410F
analogous
#0F7473 #0F4274 #0F0F74
triadic
#0F4274 #740F42 #42740F
tetradic
#0F4274 #730F74 #74410F #0F740F
square
#0F4274 #730F74 #74410F #0F740F
split-complementary
#0F4274 #740F0F #74730F
monochromatic
#040F1B #08233E #0F4274 #1661AA #1D80E0

Accessibility & contrast

On white

10.23
#0F4274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#0F4274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4274
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4274#FFFFFF#000000##FFFFFF
##0F42741.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#173D73
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0f4274;
/* rgb */ color: rgb(15, 66, 116);
/* oklch */ color: oklch(37.5% 0.100 252.2);
Tailwind
colors: {
  custom: {
    50: '#61759c',
    500: '#0f4274',
    950: '#000000',
  },
}
SCSS
$custom: #0f4274;
$custom-light: #61759c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4274",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 209.703,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3752,
    "c": 0.10013,
    "h": 252.2
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#0F4274
secondary
#AC6F33
accent
#9334F4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #0F4274

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

Preview Lab → · Contrast checker → · Palette generator →

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