#0F2C66#0F2C66

#0F2C66 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.108 H 262.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#0F2C66
RGBrgb(15, 44, 102)
HSLhsl(220, 74%, 23%)
HSVhsv(220, 85%, 40%)
CMYKcmyk(85.3%, 56.9%, 0%, 60%)
CIE-LABlab(19.48, 13.33, -37.15)
CIE-LCHlch(19.48, 39.46, 289.74°)
OKLaboklab(31.05% -0.0147 -0.1071)
OKLCHoklch(31.05% 0.108 262.2)
XYZxyz(3.4951, 2.8618, 12.9360)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C66 #66490F
analogous
#0F5766 #0F2C66 #1D0F66
triadic
#0F2C66 #660F2C #2C660F
tetradic
#0F2C66 #660F57 #66490F #0F661D
square
#0F2C66 #660F57 #66490F #0F661D
split-complementary
#0F2C66 #661D0F #57660F
monochromatic
#040C1B #071531 #0F2C66 #17439B #1F5AD1

Accessibility & contrast

On white

13.36
#0F2C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2C66
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C66#FFFFFF#000000##FFFFFF
##0F2C661.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2c66;
/* rgb */ color: rgb(15, 44, 102);
/* oklch */ color: oklch(31.0% 0.108 262.2);
Tailwind
colors: {
  custom: {
    50: '#5e6492',
    500: '#0f2c66',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c66;
$custom-light: #5e6492;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c66",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 102
  },
  "hsl": {
    "h": 220,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31049,
    "c": 0.10814,
    "h": 262.2
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#0F2C66
secondary
#9F7B32
accent
#B337F1
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #0F2C66

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

Preview Lab → · Contrast checker → · Palette generator →

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