#0F3D5C#0F3D5C

#0F3D5C is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 34.6% C 0.073 H 243.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#0F3D5C
RGBrgb(15, 61, 92)
HSLhsl(204, 72%, 21%)
HSVhsv(204, 84%, 36%)
CMYKcmyk(83.7%, 33.7%, 0%, 63.9%)
CIE-LABlab(24.36, -3.04, -22.81)
CIE-LCHlch(24.36, 23.01, 262.42°)
OKLaboklab(34.62% -0.0329 -0.0647)
OKLCHoklch(34.62% 0.073 243)
XYZxyz(3.7968, 4.2113, 10.7359)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3D5C #5C2E0F
analogous
#0F5C54 #0F3D5C #0F165C
triadic
#0F3D5C #5C0F3D #3D5C0F
tetradic
#0F3D5C #540F5C #5C2E0F #165C0F
square
#0F3D5C #540F5C #5C2E0F #165C0F
split-complementary
#0F3D5C #5C0F16 #5C540F
monochromatic
#04111A #061A27 #0F3D5C #186091 #2083C5

Accessibility & contrast

On white

11.40
#0F3D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#0F3D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3D5C
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3D5C#FFFFFF#000000##FFFFFF
##0F3D5C1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5D
Deuteranopia (green-blind)
#24375B
Tritanopia (blue-blind)
#004548
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0f3d5c;
/* rgb */ color: rgb(15, 61, 92);
/* oklch */ color: oklch(34.6% 0.073 243.0);
Tailwind
colors: {
  custom: {
    50: '#5b728a',
    500: '#0f3d5c',
    950: '#000000',
  },
}
SCSS
$custom: #0f3d5c;
$custom-light: #5b728a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3d5c",
  "rgb": {
    "r": 15,
    "g": 61,
    "b": 92
  },
  "hsl": {
    "h": 204.156,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34615,
    "c": 0.0726,
    "h": 243
  },
  "luminance": 0.04212
}

Semantic roles & 50–950 ramp

primary
#0F3D5C
secondary
#955A31
accent
#8239EF
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0F3D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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