#0F2F65#0F2F65

#0F2F65 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.103 H 260.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#0F2F65
RGBrgb(15, 47, 101)
HSLhsl(218, 74%, 23%)
HSVhsv(218, 85%, 40%)
CMYKcmyk(85.1%, 53.5%, 0%, 60.4%)
CIE-LABlab(20.34, 10.69, -35.11)
CIE-LCHlch(20.34, 36.70, 286.94°)
OKLaboklab(31.67% -0.0173 -0.1011)
OKLCHoklch(31.67% 0.103 260.3)
XYZxyz(3.5616, 3.0737, 12.7150)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F65 #65450F
analogous
#0F5A65 #0F2F65 #1A0F65
triadic
#0F2F65 #650F2F #2F650F
tetradic
#0F2F65 #650F5A #65450F #0F651A
square
#0F2F65 #650F5A #65450F #0F651A
split-complementary
#0F2F65 #651A0F #5A650F
monochromatic
#040C1B #071630 #0F2F65 #17489A #1F61D0

Accessibility & contrast

On white

13.00
#0F2F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0F2F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F65
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F65#FFFFFF#000000##FFFFFF
##0F2F651.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3567
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f2f65;
/* rgb */ color: rgb(15, 47, 101);
/* oklch */ color: oklch(31.7% 0.103 260.3);
Tailwind
colors: {
  custom: {
    50: '#5d6691',
    500: '#0f2f65',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f65;
$custom-light: #5d6691;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f65",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 217.674,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31675,
    "c": 0.10254,
    "h": 260.3
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#0F2F65
secondary
#9E7632
accent
#AC37F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #0F2F65

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

Preview Lab → · Contrast checker → · Palette generator →

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