#0F2F64#0F2F64

#0F2F64 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.101 H 260.1°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#0F2F64
RGBrgb(15, 47, 100)
HSLhsl(217, 74%, 23%)
HSVhsv(217, 85%, 39%)
CMYKcmyk(85%, 53%, 0%, 60.8%)
CIE-LABlab(20.26, 10.26, -34.58)
CIE-LCHlch(20.26, 36.07, 286.52°)
OKLaboklab(31.59% -0.0174 -0.0995)
OKLCHoklch(31.59% 0.101 260.1)
XYZxyz(3.5129, 3.0543, 12.4585)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F64 #64440F
analogous
#0F5964 #0F2F64 #1A0F64
triadic
#0F2F64 #640F2F #2F640F
tetradic
#0F2F64 #640F59 #64440F #0F641A
square
#0F2F64 #640F59 #64440F #0F641A
split-complementary
#0F2F64 #641A0F #59640F
monochromatic
#040D1B #07162F #0F2F64 #174899 #1F61CE

Accessibility & contrast

On white

13.04
#0F2F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2F64
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F64#FFFFFF#000000##FFFFFF
##0F2F641.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3566
Deuteranopia (green-blind)
#002D63
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f2f64;
/* rgb */ color: rgb(15, 47, 100);
/* oklch */ color: oklch(31.6% 0.101 260.1);
Tailwind
colors: {
  custom: {
    50: '#5d6691',
    500: '#0f2f64',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f64;
$custom-light: #5d6691;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f64",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 100
  },
  "hsl": {
    "h": 217.412,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31592,
    "c": 0.10103,
    "h": 260.1
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#0F2F64
secondary
#9D7532
accent
#AB37F1
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060D
muted
#797A7D

Preview Lab

Preview with #0F2F64

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

Preview Lab → · Contrast checker → · Palette generator →

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