#257FA2#257FA2

#257FA2 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.1% C 0.098 H 228.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#257FA2
RGBrgb(37, 127, 162)
HSLhsl(197, 63%, 39%)
HSVhsv(197, 77%, 64%)
CMYKcmyk(77.2%, 21.6%, 0%, 36.5%)
CIE-LABlab(49.71, -13.82, -26.14)
CIE-LCHlch(49.71, 29.57, 242.14°)
OKLaboklab(56.06% -0.0642 -0.0734)
OKLCHoklch(56.06% 0.098 228.9)
XYZxyz(14.8712, 18.1789, 36.9005)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257FA2 #A24825
analogous
#25A287 #257FA2 #2541A2
triadic
#257FA2 #A2257F #7FA225
tetradic
#257FA2 #8725A2 #A24825 #41A225
square
#257FA2 #8725A2 #A24825 #41A225
split-complementary
#257FA2 #A22541 #A28725
monochromatic
#0E313E #1A5870 #257FA2 #34A5D1 #65BBDC

Accessibility & contrast

On white

4.53
#257FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#257FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #257FA2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257FA2#FFFFFF#000000##000000
##257FA21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #257fa2;
/* rgb */ color: rgb(37, 127, 162);
/* oklch */ color: oklch(56.1% 0.098 228.9);
Tailwind
colors: {
  custom: {
    50: '#73a4bd',
    500: '#257fa2',
    950: '#000000',
  },
}
SCSS
$custom: #257fa2;
$custom-light: #73a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#257fa2",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 196.8,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.09753,
    "h": 228.9
  },
  "luminance": 0.18181
}

Semantic roles & 50–950 ramp

primary
#257FA2
secondary
#C27C61
accent
#7042E6
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #257FA2

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

Preview Lab → · Contrast checker → · Palette generator →

#257FA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva