#0F2F63#0F2F63

#0F2F63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.100 H 259.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#0F2F63
RGBrgb(15, 47, 99)
HSLhsl(217, 74%, 22%)
HSVhsv(217, 85%, 39%)
CMYKcmyk(84.8%, 52.5%, 0%, 61.2%)
CIE-LABlab(20.18, 9.82, -34.05)
CIE-LCHlch(20.18, 35.44, 286.09°)
OKLaboklab(31.51% -0.0176 -0.0979)
OKLCHoklch(31.51% 0.1 259.8)
XYZxyz(3.4648, 3.0350, 12.2052)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F63 #63430F
analogous
#0F5963 #0F2F63 #190F63
triadic
#0F2F63 #630F2F #2F630F
tetradic
#0F2F63 #630F59 #63430F #0F6319
square
#0F2F63 #630F59 #63430F #0F6319
split-complementary
#0F2F63 #63190F #59630F
monochromatic
#040D1B #07162E #0F2F63 #174898 #1F61CD

Accessibility & contrast

On white

13.07
#0F2F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2F63
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F63#FFFFFF#000000##FFFFFF
##0F2F631.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103565
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f2f63;
/* rgb */ color: rgb(15, 47, 99);
/* oklch */ color: oklch(31.5% 0.100 259.8);
Tailwind
colors: {
  custom: {
    50: '#5d6690',
    500: '#0f2f63',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f63;
$custom-light: #5d6690;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f63",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 217.143,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31509,
    "c": 0.09952,
    "h": 259.8
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#0F2F63
secondary
#9C7432
accent
#AA37F0
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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