#0F2C65#0F2C65

#0F2C65 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.107 H 262.0°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#0F2C65
RGBrgb(15, 44, 101)
HSLhsl(220, 74%, 23%)
HSVhsv(220, 85%, 40%)
CMYKcmyk(85.1%, 56.4%, 0%, 60.4%)
CIE-LABlab(19.40, 12.90, -36.62)
CIE-LCHlch(19.40, 38.83, 289.40°)
OKLaboklab(30.96% -0.0148 -0.1056)
OKLCHoklch(30.96% 0.107 262)
XYZxyz(3.4458, 2.8421, 12.6764)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C65 #65480F
analogous
#0F5765 #0F2C65 #1D0F65
triadic
#0F2C65 #650F2C #2C650F
tetradic
#0F2C65 #650F57 #65480F #0F651D
square
#0F2C65 #650F57 #65480F #0F651D
split-complementary
#0F2C65 #651D0F #57650F
monochromatic
#040C1B #071530 #0F2C65 #17439A #1F5AD0

Accessibility & contrast

On white

13.39
#0F2C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0F2C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C65
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C65#FFFFFF#000000##FFFFFF
##0F2C651.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023367
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2c65;
/* rgb */ color: rgb(15, 44, 101);
/* oklch */ color: oklch(31.0% 0.107 262.0);
Tailwind
colors: {
  custom: {
    50: '#5e6491',
    500: '#0f2c65',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c65;
$custom-light: #5e6491;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c65",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 101
  },
  "hsl": {
    "h": 219.767,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30961,
    "c": 0.10663,
    "h": 262
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#0F2C65
secondary
#9E7932
accent
#B237F1
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #0F2C65

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

Preview Lab → · Contrast checker → · Palette generator →

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