#0A2F4C#0A2F4C

#0A2F4C is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.067 H 246.7°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#0A2F4C
RGBrgb(10, 47, 76)
HSLhsl(206, 77%, 17%)
HSVhsv(206, 87%, 30%)
CMYKcmyk(86.8%, 38.2%, 0%, 70.2%)
CIE-LABlab(18.45, -0.87, -21.53)
CIE-LCHlch(18.45, 21.55, 267.68°)
OKLaboklab(29.61% -0.0264 -0.0612)
OKLCHoklch(29.61% 0.067 246.7)
XYZxyz(2.4457, 2.6191, 7.2127)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2F4C #4C270A
analogous
#0A4C48 #0A2F4C #0A0E4C
triadic
#0A2F4C #4C0A2F #2F4C0A
tetradic
#0A2F4C #480A4C #4C270A #0E4C0A
square
#0A2F4C #480A4C #4C270A #0E4C0A
split-complementary
#0A2F4C #4C0A0E #4C480A
monochromatic
#04111B #04111B #0A2F4C #115082 #1872B8

Accessibility & contrast

On white

13.78
#0A2F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0A2F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2F4C
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2F4C#FFFFFF#000000##FFFFFF
##0A2F4C1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21304D
Deuteranopia (green-blind)
#182A4B
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0a2f4c;
/* rgb */ color: rgb(10, 47, 76);
/* oklch */ color: oklch(29.6% 0.067 246.7);
Tailwind
colors: {
  custom: {
    50: '#55677e',
    500: '#0a2f4c',
    950: '#000000',
  },
}
SCSS
$custom: #0a2f4c;
$custom-light: #55677e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2f4c",
  "rgb": {
    "r": 10,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 206.364,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29608,
    "c": 0.06667,
    "h": 246.7
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#0A2F4C
secondary
#895329
accent
#8835F3
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0A2F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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