#0F3D7D#0F3D7D

#0F3D7D is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 37.0% C 0.119 H 258.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#0F3D7D
RGBrgb(15, 61, 125)
HSLhsl(215, 79%, 27%)
HSVhsv(215, 88%, 49%)
CMYKcmyk(88%, 51.2%, 0%, 51%)
CIE-LABlab(26.50, 10.96, -40.51)
CIE-LCHlch(26.50, 41.97, 285.14°)
OKLaboklab(36.98% -0.0246 -0.1166)
OKLCHoklch(36.98% 0.119 258.1)
XYZxyz(5.5660, 4.9190, 20.0542)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3D7D #7D4F0F
analogous
#0F747D #0F3D7D #180F7D
triadic
#0F3D7D #7D0F3D #3D7D0F
tetradic
#0F3D7D #7D0F74 #7D4F0F #0F7D18
square
#0F3D7D #7D0F74 #7D4F0F #0F7D18
split-complementary
#0F3D7D #7D180F #747D0F
monochromatic
#030D1B #082246 #0F3D7D #1658B4 #2273E4

Accessibility & contrast

On white

10.58
#0F3D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0F3D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3D7D
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3D7D#FFFFFF#000000##FFFFFF
##0F3D7D1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0f3d7d;
/* rgb */ color: rgb(15, 61, 125);
/* oklch */ color: oklch(37.0% 0.119 258.1);
Tailwind
colors: {
  custom: {
    50: '#6471a3',
    500: '#0f3d7d',
    950: '#000000',
  },
}
SCSS
$custom: #0f3d7d;
$custom-light: #6471a3;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3d7d",
  "rgb": {
    "r": 15,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 214.909,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36979,
    "c": 0.11922,
    "h": 258.1
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#0F3D7D
secondary
#B47E34
accent
#A433F5
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #0F3D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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