#0F3A5E#0F3A5E

#0F3A5E is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.9% C 0.078 H 248.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#0F3A5E
RGBrgb(15, 58, 94)
HSLhsl(207, 72%, 21%)
HSVhsv(207, 84%, 37%)
CMYKcmyk(84%, 38.3%, 0%, 63.1%)
CIE-LABlab(23.46, -0.16, -25.54)
CIE-LCHlch(23.46, 25.54, 269.63°)
OKLaboklab(33.94% -0.0292 -0.0727)
OKLCHoklch(33.94% 0.078 248.1)
XYZxyz(3.7297, 3.9354, 11.1505)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3A5E #5E330F
analogous
#0F5E5B #0F3A5E #0F135E
triadic
#0F3A5E #5E0F3A #3A5E0F
tetradic
#0F3A5E #5B0F5E #5E330F #135E0F
square
#0F3A5E #5B0F5E #5E330F #135E0F
split-complementary
#0F3A5E #5E0F13 #5E5B0F
monochromatic
#04101A #071929 #0F3A5E #175B93 #207BC8

Accessibility & contrast

On white

11.75
#0F3A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0F3A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3A5E
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3A5E#FFFFFF#000000##FFFFFF
##0F3A5E1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C5F
Deuteranopia (green-blind)
#1E355D
Tritanopia (blue-blind)
#004347
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f3a5e;
/* rgb */ color: rgb(15, 58, 94);
/* oklch */ color: oklch(33.9% 0.078 248.1);
Tailwind
colors: {
  custom: {
    50: '#5b6f8c',
    500: '#0f3a5e',
    950: '#000000',
  },
}
SCSS
$custom: #0f3a5e;
$custom-light: #5b6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3a5e",
  "rgb": {
    "r": 15,
    "g": 58,
    "b": 94
  },
  "hsl": {
    "h": 207.342,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33942,
    "c": 0.07835,
    "h": 248.1
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#0F3A5E
secondary
#976031
accent
#8C39EF
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070C
muted
#797A7D

Preview Lab

Preview with #0F3A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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