#0F2D66#0F2D66

#0F2D66 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.107 H 261.6°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#0F2D66
RGBrgb(15, 45, 102)
HSLhsl(219, 74%, 23%)
HSVhsv(219, 85%, 40%)
CMYKcmyk(85.3%, 55.9%, 0%, 60%)
CIE-LABlab(19.79, 12.59, -36.64)
CIE-LCHlch(19.79, 38.75, 288.97°)
OKLaboklab(31.28% -0.0155 -0.1056)
OKLCHoklch(31.28% 0.107 261.6)
XYZxyz(3.5328, 2.9372, 12.9485)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D66 #66480F
analogous
#0F5866 #0F2D66 #1C0F66
triadic
#0F2D66 #660F2D #2D660F
tetradic
#0F2D66 #660F58 #66480F #0F661C
square
#0F2D66 #660F58 #66480F #0F661C
split-complementary
#0F2D66 #661C0F #58660F
monochromatic
#040C1B #071531 #0F2D66 #17459B #1F5CD1

Accessibility & contrast

On white

13.23
#0F2D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0F2D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D66
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D66#FFFFFF#000000##FFFFFF
##0F2D661.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043468
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f2d66;
/* rgb */ color: rgb(15, 45, 102);
/* oklch */ color: oklch(31.3% 0.107 261.6);
Tailwind
colors: {
  custom: {
    50: '#5e6592',
    500: '#0f2d66',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d66;
$custom-light: #5e6592;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d66",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 219.31,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31284,
    "c": 0.10677,
    "h": 261.6
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#0F2D66
secondary
#9F7932
accent
#B137F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05050D
muted
#797A7E

Preview Lab

Preview with #0F2D66

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

Preview Lab → · Contrast checker → · Palette generator →

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