#0F2C68#0F2C68

#0F2C68 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.111 H 262.5°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#0F2C68
RGBrgb(15, 44, 104)
HSLhsl(220, 75%, 23%)
HSVhsv(220, 86%, 41%)
CMYKcmyk(85.6%, 57.7%, 0%, 59.2%)
CIE-LABlab(19.65, 14.19, -38.18)
CIE-LCHlch(19.65, 40.73, 290.39°)
OKLaboklab(31.23% -0.0145 -0.1102)
OKLCHoklch(31.23% 0.111 262.5)
XYZxyz(3.5955, 2.9020, 13.4647)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C68 #684B0F
analogous
#0F5868 #0F2C68 #1E0F68
triadic
#0F2C68 #680F2C #2C680F
tetradic
#0F2C68 #680F58 #684B0F #0F681E
square
#0F2C68 #680F58 #684B0F #0F681E
split-complementary
#0F2C68 #681E0F #58680F
monochromatic
#040B1B #071533 #0F2C68 #17439D #1E59D3

Accessibility & contrast

On white

13.29
#0F2C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0F2C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C68
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C68#FFFFFF#000000##FFFFFF
##0F2C681.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f2c68;
/* rgb */ color: rgb(15, 44, 104);
/* oklch */ color: oklch(31.2% 0.111 262.5);
Tailwind
colors: {
  custom: {
    50: '#5f6494',
    500: '#0f2c68',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c68;
$custom-light: #5f6494;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c68",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 104
  },
  "hsl": {
    "h": 220.449,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31226,
    "c": 0.11112,
    "h": 262.5
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#0F2C68
secondary
#A17D32
accent
#B436F1
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #0F2C68

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

Preview Lab → · Contrast checker → · Palette generator →

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