#0F2C63#0F2C63

#0F2C63 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.104 H 261.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#0F2C63
RGBrgb(15, 44, 99)
HSLhsl(219, 74%, 22%)
HSVhsv(219, 85%, 39%)
CMYKcmyk(84.8%, 55.6%, 0%, 61.2%)
CIE-LABlab(19.24, 12.03, -35.57)
CIE-LCHlch(19.24, 37.55, 288.68°)
OKLaboklab(30.79% -0.0151 -0.1025)
OKLCHoklch(30.79% 0.104 261.6)
XYZxyz(3.3490, 2.8034, 12.1666)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C63 #63460F
analogous
#0F5663 #0F2C63 #1C0F63
triadic
#0F2C63 #630F2C #2C630F
tetradic
#0F2C63 #630F56 #63460F #0F631C
square
#0F2C63 #630F56 #63460F #0F631C
split-complementary
#0F2C63 #631C0F #56630F
monochromatic
#040C1B #07142E #0F2C63 #174498 #1F5BCD

Accessibility & contrast

On white

13.45
#0F2C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0F2C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C63
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C63#FFFFFF#000000##FFFFFF
##0F2C631.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063365
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2c63;
/* rgb */ color: rgb(15, 44, 99);
/* oklch */ color: oklch(30.8% 0.104 261.6);
Tailwind
colors: {
  custom: {
    50: '#5d6490',
    500: '#0f2c63',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c63;
$custom-light: #5d6490;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c63",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 219.286,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30787,
    "c": 0.10362,
    "h": 261.6
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#0F2C63
secondary
#9C7732
accent
#B137F0
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2C63

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

Preview Lab → · Contrast checker → · Palette generator →

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