#0F2F6E#0F2F6E

#0F2F6E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.116 H 262.0°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#0F2F6E
RGBrgb(15, 47, 110)
HSLhsl(220, 76%, 25%)
HSVhsv(220, 86%, 43%)
CMYKcmyk(86.4%, 57.3%, 0%, 56.9%)
CIE-LABlab(21.06, 14.58, -39.78)
CIE-LCHlch(21.06, 42.37, 290.13°)
OKLaboklab(32.45% -0.0162 -0.1148)
OKLCHoklch(32.45% 0.116 262)
XYZxyz(4.0270, 3.2599, 15.1658)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F6E #6E4E0F
analogous
#0F5F6E #0F2F6E #1E0F6E
triadic
#0F2F6E #6E0F2F #2F6E0F
tetradic
#0F2F6E #6E0F5F #6E4E0F #0F6E1E
square
#0F2F6E #6E0F5F #6E4E0F #0F6E1E
split-complementary
#0F2F6E #6E1E0F #5F6E0F
monochromatic
#040C1B #081838 #0F2F6E #1646A4 #1E5DDA

Accessibility & contrast

On white

12.71
#0F2F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#0F2F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F6E
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F6E#FFFFFF#000000##FFFFFF
##0F2F6E1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f2f6e;
/* rgb */ color: rgb(15, 47, 110);
/* oklch */ color: oklch(32.5% 0.116 262.0);
Tailwind
colors: {
  custom: {
    50: '#606698',
    500: '#0f2f6e',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f6e;
$custom-light: #606698;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f6e",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 219.789,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32451,
    "c": 0.11595,
    "h": 262
  },
  "luminance": 0.0326
}

Semantic roles & 50–950 ramp

primary
#0F2F6E
secondary
#A67F33
accent
#B335F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F2F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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